(diary-display-hook): Declare for compiler.
authorGlenn Morris <rgm@gnu.org>
Thu, 10 Apr 2008 03:44:19 +0000 (03:44 +0000)
committerGlenn Morris <rgm@gnu.org>
Thu, 10 Apr 2008 03:44:19 +0000 (03:44 +0000)
lisp/calendar/cal-x.el

index 97450ea..76f7731 100644 (file)
@@ -91,6 +91,9 @@ Runs `calendar-after-frame-setup-hook', selects frame, iconifies if needed."
   (if (eq 'icon (cdr (assoc 'visibility (frame-parameters frame))))
       (iconify-or-deiconify-frame)))
 
+;; c-d-d is only called after (diary) has been run.
+(defvar diary-display-hook)
+
 (defun calendar-dedicate-diary ()
   "Display and dedicate the window associated with the diary buffer."
   (set-window-dedicated-p