Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9f369268
Commit
9f369268
authored
Jul 07, 2007
by
Eli Zaretskii
Browse files
(menu-bar-open): New function. Bind <f10> to it.
parent
b2b387f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
lisp/term/w32-win.el
lisp/term/w32-win.el
+12
-2
No files found.
lisp/term/w32-win.el
View file @
9f369268
...
...
@@ -1041,8 +1041,18 @@ XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp")
;;; make f10 activate the real menubar rather than the mini-buffer menu
;;; navigation feature.
(
global-set-key
[f10]
(
lambda
()
(
interactive
)
(
w32-send-sys-command
?\xf100
)))
(
defun
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.
If FRAME is nil or not given, use the selected frame."
(
interactive
"i"
)
(
w32-send-sys-command
?\xf100
frame
))
;
(
global-set-key
[f10]
'menu-bar-open
)
(
substitute-key-definition
'suspend-emacs
'iconify-or-deiconify-frame
global-map
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment