[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/term/w32-win.el, v [EMACS_22_BASE]
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/term/w32-win.el, v [EMACS_22_BASE] |
Date: |
Sat, 07 Jul 2007 11:24:05 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Eli Zaretskii <eliz> 07/07/07 11:24:05
Index: w32-win.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/term/w32-win.el,v
retrieving revision 1.80
retrieving revision 1.80.2.1
diff -u -b -r1.80 -r1.80.2.1
--- w32-win.el 21 Jan 2007 03:22:34 -0000 1.80
+++ w32-win.el 7 Jul 2007 11:24:04 -0000 1.80.2.1
@@ -1041,8 +1041,18 @@
;;; 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)
- [Emacs-diffs] Changes to emacs/lisp/term/w32-win.el, v [EMACS_22_BASE],
Eli Zaretskii <=