changeset 93792:1715d8011340

Update for diary-lib name changes.
author Glenn Morris <rgm@gnu.org>
date Sun, 06 Apr 2008 20:53:45 +0000
parents 4ef65ad699dc
children 5c3eedca8e41
files lisp/calendar/cal-x.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/cal-x.el	Sun Apr 06 20:53:38 2008 +0000
+++ b/lisp/calendar/cal-x.el	Sun Apr 06 20:53:45 2008 +0000
@@ -95,7 +95,8 @@
   "Display and dedicate the window associated with the diary buffer."
   (set-window-dedicated-p
    (display-buffer
-    (if (not (memq 'fancy-diary-display diary-display-hook))
+    (if (not (or (memq 'diary-fancy-display diary-display-hook)
+                 (memq 'fancy-diary-display diary-display-hook)))
         (get-file-buffer diary-file)
       ;; If there are no diary entries, there won't be a fancy-diary
       ;; to dedicate, so make a basic one.