emacs-diffs
[Top][All Lists]
Advanced

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

master 0fb6f05: Fix up previous conf-mode.el and nroff-mode.el change sl


From: Lars Ingebrigtsen
Subject: master 0fb6f05: Fix up previous conf-mode.el and nroff-mode.el change slightly
Date: Sun, 21 Feb 2021 23:10:23 -0500 (EST)

branch: master
commit 0fb6f05bcb179e2f5332776c59b1503f625059b9
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix up previous conf-mode.el and nroff-mode.el change slightly
    
    * lisp/textmodes/conf-mode.el (conf-mode-map): Remove variable now
    unused.
    
    * lisp/textmodes/nroff-mode.el (nroff-mode-map): Remove variable
    now unused.
---
 lisp/textmodes/conf-mode.el  | 3 +--
 lisp/textmodes/nroff-mode.el | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/lisp/textmodes/conf-mode.el b/lisp/textmodes/conf-mode.el
index 8225f0a..5f34ae1 100644
--- a/lisp/textmodes/conf-mode.el
+++ b/lisp/textmodes/conf-mode.el
@@ -63,8 +63,7 @@ not align (only setting space according to 
`conf-assignment-space')."
   :type 'boolean)
 
 (defvar conf-mode-map
-  (let ((map (make-sparse-keymap))
-       (menu-map (make-sparse-keymap)))
+  (let ((map (make-sparse-keymap)))
     (define-key map "\C-c\C-u" 'conf-unix-mode)
     (define-key map "\C-c\C-w" 'conf-windows-mode)
     (define-key map "\C-c\C-j" 'conf-javaprop-mode)
diff --git a/lisp/textmodes/nroff-mode.el b/lisp/textmodes/nroff-mode.el
index cd32150..7d9b414 100644
--- a/lisp/textmodes/nroff-mode.el
+++ b/lisp/textmodes/nroff-mode.el
@@ -46,8 +46,7 @@
   :type 'boolean)
 
 (defvar nroff-mode-map
-  (let ((map (make-sparse-keymap))
-       (menu-map (make-sparse-keymap)))
+  (let ((map (make-sparse-keymap)))
     (define-key map "\t"  'tab-to-tab-stop)
     (define-key map "\e?" 'nroff-count-text-lines)
     (define-key map "\n"  'nroff-electric-newline)



reply via email to

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