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.
This commit is contained in:
Stefan Kangas 2020-05-02 22:50:14 +02:00
parent 11fd01c994
commit 4be16866b9
6 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,4 @@
;;; bobcat.el -*- lexical-binding:t -*-
(defun terminal-init-bobcat ()
"Terminal initialization function for bobcat."

View 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.

View 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)

View 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" ())

View 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.

View 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 ()