summaryrefslogtreecommitdiff
path: root/lisp/calendar
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
parent79e43d6ecac6a45c110cd7634caae4bcf6d6ffdf (diff)
downloademacs-f2d9c15f597ab17a78244c4e019d708d5290ac19.tar.gz
Add declarations for builds without X.
Diffstat (limited to 'lisp/calendar')
-rw-r--r--lisp/calendar/cal-menu.el2
-rw-r--r--lisp/calendar/calendar.el2
-rw-r--r--lisp/calendar/holidays.el2
3 files changed, 6 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."
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index dc2f8ce9079..68a14068757 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -2422,6 +2422,8 @@ DATE is (month day year). Calendars that do not apply are omitted."
(format "Mayan date: %s"
(calendar-mayan-date-string date))))))
+(declare-function x-popup-menu "xmenu.c" (position menu))
+
(defun calendar-print-other-dates (&optional event)
"Show dates on other calendars for date under the cursor.
If called by a mouse-event, pops up a menu with the result."
diff --git a/lisp/calendar/holidays.el b/lisp/calendar/holidays.el
index 8b554e05825..9e703df114f 100644
--- a/lisp/calendar/holidays.el
+++ b/lisp/calendar/holidays.el
@@ -624,6 +624,8 @@ The holidays are those in the list `calendar-holidays'."
(define-obsolete-function-alias
'check-calendar-holidays 'calendar-check-holidays "23.1")
+(declare-function x-popup-menu "xmenu.c" (position menu))
+
;;;###cal-autoload
(defun calendar-cursor-holidays (&optional date event)
"Find holidays for the date specified by the cursor in the calendar window.