emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 4be1686: Use lexical-binding for some term libraries


From: Stefan Kangas
Subject: master 4be1686: Use lexical-binding for some term libraries
Date: Sat, 2 May 2020 16:50:54 -0400 (EDT)

branch: master
commit 4be16866b959dd173e4016b8a16590093686e1f1
Author: Stefan Kangas <address@hidden>
Commit: Stefan Kangas <address@hidden>

    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.
---
 lisp/term/bobcat.el  | 1 +
 lisp/term/cygwin.el  | 2 +-
 lisp/term/konsole.el | 2 +-
 lisp/term/linux.el   | 2 +-
 lisp/term/vt100.el   | 2 +-
 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 a32da6a..983c8cd 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 edc64b4..8f0d751 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 8b2e7e1..4af818b 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 70730dc..35bd3ac 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 7ddbe38..2df1414 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 dde2e22..569b79e 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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]