aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-06-26 07:16:38 +0000
committerGlenn Morris2008-06-26 07:16:38 +0000
commit7ec4149077883e615dcdf128d634a543a2dce36d (patch)
treef7187a86ce5e856b4364aa4b22c74c3150496a6f
parent2b11fcd531a5d9e8084344b341aecff379870770 (diff)
downloademacs-7ec4149077883e615dcdf128d634a543a2dce36d.tar.gz
emacs-7ec4149077883e615dcdf128d634a543a2dce36d.zip
(calendar-check-holidays): Declare rather than autoloading.
(diary-show-holidays-flag): Remove unneeded declaration.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/calendar/cal-menu.el4
2 files changed, 4 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b9683e282dd..d6dc665939c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -47,6 +47,8 @@
47 (cal-menu-holidays-menu, cal-menu-goto-menu, cal-menu-scroll-menu): 47 (cal-menu-holidays-menu, cal-menu-goto-menu, cal-menu-scroll-menu):
48 Add doc strings. 48 Add doc strings.
49 (cal-menu-context-mouse-menu): Add some :keys. 49 (cal-menu-context-mouse-menu): Add some :keys.
50 (calendar-check-holidays): Declare rather than autoloading.
51 (diary-show-holidays-flag): Remove unneeded declaration.
50 52
51 * calendar/cal-menu.el (cal-menu-moon-menu): Add sunrise/sunset. 53 * calendar/cal-menu.el (cal-menu-moon-menu): Add sunrise/sunset.
52 * calendar/calendar.el (calendar-cursor-to-date): Handle case where 54 * calendar/calendar.el (calendar-cursor-to-date): Handle case where
diff --git a/lisp/calendar/cal-menu.el b/lisp/calendar/cal-menu.el
index 598db79856a..704c49a6501 100644
--- a/lisp/calendar/cal-menu.el
+++ b/lisp/calendar/cal-menu.el
@@ -160,9 +160,9 @@ Signals an error if popups are unavailable."
160 (x-popup-menu ,event (list ,title (append (list ,title) ,@body))) 160 (x-popup-menu ,event (list ,title (append (list ,title) ,@body)))
161 (error "Popup menus are not available on this system"))) 161 (error "Popup menus are not available on this system")))
162 162
163(autoload 'calendar-check-holidays "holidays")
164(autoload 'diary-list-entries "diary-lib") 163(autoload 'diary-list-entries "diary-lib")
165(defvar diary-show-holidays-flag) ; only called from calendar.el 164;; Autoloaded in diary-lib.
165(declare-function calendar-check-holidays "holidays" (date))
166 166
167(defun calendar-mouse-view-diary-entries (&optional date diary event) 167(defun calendar-mouse-view-diary-entries (&optional date diary event)
168 "Pop up menu of diary entries for mouse-selected date. 168 "Pop up menu of diary entries for mouse-selected date.