(x-menu-bar-open): Use accelerate-menu.

This commit is contained in:
Dan Nicolaescu 2007-07-02 02:39:53 +00:00
parent 0a8fc05dd5
commit 5f06b60813
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2007-07-02 Dan Nicolaescu <dann@ics.uci.edu>
* term/x-win.el (x-menu-bar-open): Use accelerate-menu.
2007-06-23 Dan Nicolaescu <dann@ics.uci.edu>
* term/xterm.el (terminal-init-xterm): Fix previous change.

View file

@ -2411,7 +2411,7 @@ order until succeed.")
(defun x-menu-bar-open (&optional frame)
"Open the menu bar if `menu-bar-mode' is on. otherwise call `tmm-menubar'."
(interactive "i")
(if menu-bar-mode (menu-bar-open frame)
(if menu-bar-mode (accelerate-menu frame)
(tmm-menubar)))