]> code.delx.au - gnu-emacs/blobdiff - lisp/calendar/cal-x.el
(diary-display-hook): Declare for compiler.
[gnu-emacs] / lisp / calendar / cal-x.el
index 97450eac3dbcb7834b2cf12b2d3931f0b2cf65f9..76f77315cf19cff3ed66791ae6839f6e3bd6abee 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