(x-menu-bar-open): Use accelerate-menu.
This commit is contained in:
parent
0a8fc05dd5
commit
5f06b60813
2 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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)))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue