summaryrefslogtreecommitdiff
path: root/lisp/calendar/cal-menu.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-08-11 01:23:07 +0000
committerGlenn Morris <rgm@gnu.org>2008-08-11 01:23:07 +0000
commitf2d9c15f597ab17a78244c4e019d708d5290ac19 (patch)
treeeea7f9d13952b4727dfb8db3509d5e53cdda4fac /lisp/calendar/cal-menu.el
parent79e43d6ecac6a45c110cd7634caae4bcf6d6ffdf (diff)
downloademacs-f2d9c15f597ab17a78244c4e019d708d5290ac19.tar.gz
Add declarations for builds without X.
Diffstat (limited to 'lisp/calendar/cal-menu.el')
-rw-r--r--lisp/calendar/cal-menu.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/calendar/cal-menu.el b/lisp/calendar/cal-menu.el
index e456f85bfe3..8818498480d 100644
--- a/lisp/calendar/cal-menu.el
+++ b/lisp/calendar/cal-menu.el
@@ -153,6 +153,8 @@
["Backward 1 Year" (calendar-scroll-right 12) :keys "4 M-v"])
"Key map for \"Scroll\" menu in the calendar.")
+(declare-function x-popup-menu "xmenu.c" (position menu))
+
(defmacro cal-menu-x-popup-menu (event title &rest body)
"Call `x-popup-menu' at position EVENT, with TITLE and contents BODY.
Signals an error if popups are unavailable."