diff options
| author | Glenn Morris | 2008-04-10 03:44:19 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-04-10 03:44:19 +0000 |
| commit | 724a25b25eb394fe532e726a3cc682e92523444b (patch) | |
| tree | b515419a8308fab5354f60f6925fbdf40c8d92ab | |
| parent | 467f174b22f0b5739da1f86b715cc875f281a9af (diff) | |
| download | emacs-724a25b25eb394fe532e726a3cc682e92523444b.tar.gz emacs-724a25b25eb394fe532e726a3cc682e92523444b.zip | |
(diary-display-hook): Declare for compiler.
| -rw-r--r-- | lisp/calendar/cal-x.el | 3 |
1 files changed, 3 insertions, 0 deletions
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." | |||
| 91 | (if (eq 'icon (cdr (assoc 'visibility (frame-parameters frame)))) | 91 | (if (eq 'icon (cdr (assoc 'visibility (frame-parameters frame)))) |
| 92 | (iconify-or-deiconify-frame))) | 92 | (iconify-or-deiconify-frame))) |
| 93 | 93 | ||
| 94 | ;; c-d-d is only called after (diary) has been run. | ||
| 95 | (defvar diary-display-hook) | ||
| 96 | |||
| 94 | (defun calendar-dedicate-diary () | 97 | (defun calendar-dedicate-diary () |
| 95 | "Display and dedicate the window associated with the diary buffer." | 98 | "Display and dedicate the window associated with the diary buffer." |
| 96 | (set-window-dedicated-p | 99 | (set-window-dedicated-p |