summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2007-11-22 13:51:09 +0000
committerJuanma Barranquero <lekktu@gmail.com>2007-11-22 13:51:09 +0000
commitf464330b30f19c257eca6b9fc6a21001aad16560 (patch)
tree53272f6607add66fb7e961b7207d3f4a0a07d3d1 /lisp
parentbbf6ef44b622a67e9f1482d4f0341d649724cfab (diff)
downloademacs-f464330b30f19c257eca6b9fc6a21001aad16560.tar.gz
(x-menu-bar-open): Declare as function.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/menu-bar.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 116d7842053..2f4c95d6484 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -1775,6 +1775,8 @@ See `menu-bar-mode' for more information."
(menu-bar-mode (if (> (frame-parameter nil 'menu-bar-lines) 0) 0 1))
(menu-bar-mode arg)))
+(declare-function x-menu-bar-open "term/x-win" (&optional frame))
+
(defun menu-bar-open (&optional frame)
"Start key navigation of the menu bar in FRAME.