diff options
| author | Eli Zaretskii <eliz@gnu.org> | 2016-10-06 21:46:48 +0300 |
|---|---|---|
| committer | Eli Zaretskii <eliz@gnu.org> | 2016-10-06 21:46:48 +0300 |
| commit | c4a5e7e18d357c168900215165b0cb41bad06a83 (patch) | |
| tree | ef82848c6e11524989306b1abf706639379bb682 /lisp/term | |
| parent | 34b6df19a4dafe0227ab663c971079e68e17f393 (diff) | |
| download | emacs-c4a5e7e18d357c168900215165b0cb41bad06a83.tar.gz | |
Improve documentation of 'menu-bar-open'
* lisp/term/w32-win.el (w32-menu-bar-open): Clarify that sometimes
two ESC keypresses are needed to exit the menu.
* doc/emacs/screen.texi (Menu Bar): Qualify the description of how
to exit menus. (Bug#24596)
Diffstat (limited to 'lisp/term')
| -rw-r--r-- | lisp/term/w32-win.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el index 134e3106b7b..5c56d05a140 100644 --- a/lisp/term/w32-win.el +++ b/lisp/term/w32-win.el @@ -177,12 +177,15 @@ the last file dropped is selected." ;;; make f10 activate the real menubar rather than the mini-buffer menu ;;; navigation feature. - (defun w32-menu-bar-open (&optional frame) +(defun w32-menu-bar-open (&optional frame) "Start key navigation of the menu bar in FRAME. This initially activates the first menu-bar item, and you can then navigate with the arrow keys, select a menu entry with the Return key or cancel with -the Escape key. If FRAME has no menu bar, this function does nothing. +one or two Escape keypresses. (Two Escape keypresses are needed when a +menu was already dropped down by pressing Return.) + +If FRAME has no menu bar, this function does nothing. If FRAME is nil or not given, use the selected frame. If FRAME does not have the menu bar enabled, display a text menu using |
