diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2020-05-02 22:50:14 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2020-05-02 22:50:14 +0200 |
commit | 4be16866b959dd173e4016b8a16590093686e1f1 (patch) | |
tree | 6e144258afd69ecec5caac037ef0bc9834b719bf | |
parent | 11fd01c9941cc9fcf760750a7e287edae02779c9 (diff) | |
download | emacs-4be16866b959dd173e4016b8a16590093686e1f1.tar.gz |
Use lexical-binding for some term libraries
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.
-rw-r--r-- | lisp/term/bobcat.el | 1 | ||||
-rw-r--r-- | lisp/term/cygwin.el | 2 | ||||
-rw-r--r-- | lisp/term/konsole.el | 2 | ||||
-rw-r--r-- | lisp/term/linux.el | 2 | ||||
-rw-r--r-- | lisp/term/vt100.el | 2 | ||||
-rw-r--r-- | lisp/term/vt200.el | 2 |
6 files changed, 7 insertions, 4 deletions
diff --git a/lisp/term/bobcat.el b/lisp/term/bobcat.el index a32da6ae8f2..983c8cded2f 100644 --- a/lisp/term/bobcat.el +++ b/lisp/term/bobcat.el @@ -1,3 +1,4 @@ +;;; bobcat.el -*- lexical-binding:t -*- (defun terminal-init-bobcat () "Terminal initialization function for bobcat." diff --git a/lisp/term/cygwin.el b/lisp/term/cygwin.el index edc64b4404d..8f0d751cf29 100644 --- a/lisp/term/cygwin.el +++ b/lisp/term/cygwin.el @@ -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. diff --git a/lisp/term/konsole.el b/lisp/term/konsole.el index 8b2e7e1d5f8..4af818b4a63 100644 --- a/lisp/term/konsole.el +++ b/lisp/term/konsole.el @@ -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) diff --git a/lisp/term/linux.el b/lisp/term/linux.el index 70730dc5844..35bd3ac0acb 100644 --- a/lisp/term/linux.el +++ b/lisp/term/linux.el @@ -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" ()) diff --git a/lisp/term/vt100.el b/lisp/term/vt100.el index 7ddbe38a287..2df14145231 100644 --- a/lisp/term/vt100.el +++ b/lisp/term/vt100.el @@ -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. diff --git a/lisp/term/vt200.el b/lisp/term/vt200.el index dde2e229068..569b79e25a1 100644 --- a/lisp/term/vt200.el +++ b/lisp/term/vt200.el @@ -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 () |