the C-g key, so the shortcut displayed is C-g.
Prefer RET over C-j for exit-minibuffer.
2008-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
+ * menu-bar.el (minibuffer-local-map): Use the same command for the
+ "Quit" menu as used for the C-g key, so the shortcut displayed is C-g.
+ Prefer RET over C-j for exit-minibuffer.
+
* files.el (display-buffer-other-frame): Eliminate problematic code.
* menu-bar.el (menu-bar-update-buffers-maxbuf): Remove.
(let ((map minibuffer-local-map))
(define-key map [menu-bar minibuf quit]
- (list 'menu-item "Quit" 'keyboard-escape-quit
+ (list 'menu-item "Quit" 'abort-recursive-edit
:help "Abort input and exit minibuffer"))
(define-key map [menu-bar minibuf return]
(list 'menu-item "Enter" 'exit-minibuffer
+ :key-sequence "\r"
:help "Terminate input and exit minibuffer"))
(define-key map [menu-bar minibuf isearch-forward]
(list 'menu-item "Isearch History Forward" 'isearch-forward