summaryrefslogtreecommitdiff
path: root/lisp/term/w32-win.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-10-10 07:35:33 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-10-10 07:35:33 -0700
commitcf9bdf12da73bef67a6cc27a71ab76c67af24111 (patch)
tree6b98db09a0df03c66f2750e4e40afabfad1a8229 /lisp/term/w32-win.el
parent53d1b9dbbee97f674330cda191f889aa55db0e20 (diff)
parentc4a5e7e18d357c168900215165b0cb41bad06a83 (diff)
downloademacs-cf9bdf12da73bef67a6cc27a71ab76c67af24111.tar.gz
Merge from origin/emacs-25
c4a5e7e Improve documentation of 'menu-bar-open'
Diffstat (limited to 'lisp/term/w32-win.el')
-rw-r--r--lisp/term/w32-win.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el
index 8f3eaa2c029..f705ec17a55 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