Commit 9be969d7 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(electric-buffer-menu-mode-map): Don't wipe out all Meta keys.

parent 9e0b2b08
......@@ -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
(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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment