]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix up previous conf-mode.el and nroff-mode.el change slightly
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 22 Feb 2021 04:10:13 +0000 (05:10 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 22 Feb 2021 04:10:13 +0000 (05:10 +0100)
* 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
lisp/textmodes/nroff-mode.el

index 8225f0a0fe7bd6eed41b580ff14483b9ac0d5ed1..5f34ae152d1a58c77bff313ec31983e494682537 100644 (file)
@@ -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)
index cd321501f0a01a0819cd108cd3f32a5cca1c9f5f..7d9b414bf0c2fb2894d825b40a3e590e787bf560 100644 (file)
@@ -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)