(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.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
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.
|
||||
|
||||
@@ -1714,10 +1714,11 @@ Buffers menu is regenerated."
|
||||
|
||||
(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
|
||||
|
||||
Reference in New Issue
Block a user