From: Glenn Morris Date: Thu, 10 Apr 2008 03:44:19 +0000 (+0000) Subject: (diary-display-hook): Declare for compiler. X-Git-Tag: emacs-pretest-23.0.90~6367 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=724a25b25eb394fe532e726a3cc682e92523444b;p=emacs.git (diary-display-hook): Declare for compiler. --- diff --git a/lisp/calendar/cal-x.el b/lisp/calendar/cal-x.el index 97450eac3db..76f77315cf1 100644 --- a/lisp/calendar/cal-x.el +++ b/lisp/calendar/cal-x.el @@ -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