From: Richard M. Stallman Date: Wed, 12 Aug 1998 22:21:47 +0000 (+0000) Subject: (electric-buffer-menu-mode-map): Don't wipe out all Meta keys. X-Git-Tag: emacs-20.3~72 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9be969d72c331b007a71bc9de07b32c671099c12;p=emacs.git (electric-buffer-menu-mode-map): Don't wipe out all Meta keys. --- diff --git a/lisp/ebuff-menu.el b/lisp/ebuff-menu.el index 3ca8e5813f0..bd3cfce96c9 100644 --- a/lisp/ebuff-menu.el +++ b/lisp/ebuff-menu.el @@ -159,10 +159,9 @@ electric-buffer-menu-mode-hook if it is non-nil." (put 'Electric-buffer-menu-undefined 'suppress-keymap t) (if electric-buffer-menu-mode-map nil - (let ((map (make-keymap)) (submap (make-keymap))) + (let ((map (make-keymap))) (fillarray (car (cdr map)) 'Electric-buffer-menu-undefined) - (define-key map "\e" submap) - (fillarray (car (cdr submap)) 'Electric-buffer-menu-undefined) + (define-key map "\e" nil) (define-key map "\C-z" 'suspend-emacs) (define-key map "v" 'Electric-buffer-menu-mode-view-buffer) (define-key map (char-to-string help-char) 'Helper-help)