changeset 96317:1428d59cfd91

(calendar-check-holidays): Declare rather than autoloading. (diary-show-holidays-flag): Remove unneeded declaration.
author Glenn Morris <rgm@gnu.org>
date Thu, 26 Jun 2008 07:16:01 +0000
parents 6eafa018d3b6
children ba6ba98474c2
files lisp/calendar/cal-menu.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/cal-menu.el	Thu Jun 26 07:08:01 2008 +0000
+++ b/lisp/calendar/cal-menu.el	Thu Jun 26 07:16:01 2008 +0000
@@ -160,9 +160,9 @@
        (x-popup-menu ,event (list ,title (append (list ,title) ,@body)))
      (error "Popup menus are not available on this system")))
 
-(autoload 'calendar-check-holidays "holidays")
 (autoload 'diary-list-entries "diary-lib")
-(defvar diary-show-holidays-flag)       ; only called from calendar.el
+;; Autoloaded in diary-lib.
+(declare-function calendar-check-holidays "holidays" (date))
 
 (defun calendar-mouse-view-diary-entries (&optional date diary event)
   "Pop up menu of diary entries for mouse-selected date.