Mercurial > emacs
diff lisp/term/x-win.el @ 83537:c19f348befac
Fix F10 behaviour. (Reported by Bernard Adrian.)
* src/xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]:
Rename from Fmenu_bar_open.
(syms_of_xmenu): Update defsubr.
* lisp/menu-bar.el (menu-bar-open): New function.
Bind it to f10.
* lisp/term/x-win.el: Don't bind f10.
* lisp/tmm.el: Remove autoload binding for f10.
* lisp/ldefs-boot.el: Regenerate.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-577
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sat, 29 Jul 2006 20:57:26 +0000 |
parents | b19aaf4ab0ee |
children | 694bbb62a75d |
line wrap: on
line diff
--- a/lisp/term/x-win.el Sat Jul 29 18:41:57 2006 +0000 +++ b/lisp/term/x-win.el Sat Jul 29 20:57:26 2006 +0000 @@ -2533,9 +2533,5 @@ (add-hook 'after-make-frame-functions 'x-dnd-init-frame) (global-set-key [drag-n-drop] 'x-dnd-handle-drag-n-drop-event) -;; Let F10 do menu bar navigation. -(and (fboundp 'menu-bar-open) - (global-set-key [f10] 'menu-bar-open)) - ;; arch-tag: f1501302-db8b-4d95-88e3-116697d89f78 ;;; x-win.el ends here