Commit e17ed9ad authored by Chong Yidong's avatar Chong Yidong
Browse files

* term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it

is defined (Bug#4405).
parent 120812a0
2009-09-13 Chong Yidong <cyd@stupidchicken.com>
* term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
is defined (Bug#4405).
2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
* recentf.el (recentf-cleanup): Use a hash table to find
......
......@@ -1445,7 +1445,9 @@ The value nil is the same as this list:
(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 (accelerate-menu frame)
(if (and menu-bar-mode
(fboundp 'accelerate-menu))
(accelerate-menu frame)
(tmm-menubar)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment