]> git.eshelyaron.com Git - emacs.git/commitdiff
Use lexical-binding for some term libraries
authorStefan Kangas <stefankangas@gmail.com>
Sat, 2 May 2020 20:50:14 +0000 (22:50 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 2 May 2020 20:50:14 +0000 (22:50 +0200)
This takes care of the most trivial cases, but there are more that
could be easily converted.

* lisp/term/bobcat.el:
* lisp/term/cygwin.el:
* lisp/term/konsole.el:
* lisp/term/linux.el:
* lisp/term/vt100.el:
* lisp/term/vt200.el: Use lexical-binding.

lisp/term/bobcat.el
lisp/term/cygwin.el
lisp/term/konsole.el
lisp/term/linux.el
lisp/term/vt100.el
lisp/term/vt200.el

index a32da6ae8f237de1c1f386c74e5433fd28aa27eb..983c8cded2f97e1ef28c53e8f96e8d5a7a2c645c 100644 (file)
@@ -1,3 +1,4 @@
+;;; bobcat.el  -*- lexical-binding:t -*-
 
 (defun terminal-init-bobcat ()
   "Terminal initialization function for bobcat."
index edc64b4404d552c7e257a773e75656f25ecb7681..8f0d751cf29e13676b757b1308499ab58fc43d2b 100644 (file)
@@ -1,4 +1,4 @@
-;;; cygwin.el --- support for the Cygwin terminal
+;;; cygwin.el --- support for the Cygwin terminal  -*- lexical-binding:t -*-
 
 ;;; The Cygwin terminal can't really display underlines.
 
index 8b2e7e1d5f864fc514bfe46a77866c84eeef527f..4af818b4a6313addbc9bc8eeb8743840f513d1fe 100644 (file)
@@ -1,4 +1,4 @@
-;;; konsole.el --- terminal initialization for konsole
+;;; konsole.el --- terminal initialization for konsole  -*- lexical-binding:t -*-
 ;; Copyright (C) 2017-2020 Free Software Foundation, Inc.
 
 (require 'term/xterm)
index 70730dc5844631d9ad4d64039517d6fdf39fa724..35bd3ac0acbb4772860ab6ecaa39f47b3dc05eac 100644 (file)
@@ -1,4 +1,4 @@
-;; The Linux console handles Latin-1 by default.
+;; The Linux console handles Latin-1 by default.  -*- lexical-binding:t -*-
 
 (declare-function gpm-mouse-enable "t-mouse" ())
 
index 7ddbe38a287e5f896d98dac9d6869dbbc417aa8e..2df141452314cbeb7d64226a89ec0d505c1d79d6 100644 (file)
@@ -1,4 +1,4 @@
-;;; vt100.el --- define VT100 function key sequences in function-key-map
+;;; vt100.el --- define VT100 function key sequences in function-key-map  -*- lexical-binding:t -*-
 
 ;; Copyright (C) 1989, 1993, 2001-2020 Free Software Foundation, Inc.
 
index dde2e2290684850c863deda021300eb4afaba1e7..569b79e25a1f87434a43e19e8faaf7d8a247f850 100644 (file)
@@ -1,3 +1,5 @@
+;;; vt200.el  -*- lexical-binding:t -*-
+
 ;; For our purposes we can treat the vt200 and vt100 almost alike.
 ;; Most differences are handled by the termcap entry.
 (defun terminal-init-vt200 ()