From: Lars Ingebrigtsen Date: Mon, 22 Feb 2021 04:10:13 +0000 (+0100) Subject: Fix up previous conf-mode.el and nroff-mode.el change slightly X-Git-Tag: emacs-28.0.90~3611 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0fb6f05bcb179e2f5332776c59b1503f625059b9;p=emacs.git 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. --- diff --git a/lisp/textmodes/conf-mode.el b/lisp/textmodes/conf-mode.el index 8225f0a0fe7..5f34ae152d1 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 cd321501f0a..7d9b414bf0c 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)