emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Small problem with fancy diary display.


From: David Koppelman
Subject: Small problem with fancy diary display.
Date: Sat, 05 Apr 2008 13:05:01 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

After a recent checkin the fancy diary doesn't appear because
fancy-diary-buffer is a buffer name but is expected to be a buffer at
one place; the following patch fixes it:

--- cal-x.el.~1.39.~    2008-04-05 10:02:32.000000000 -0500
+++ cal-x.el    2008-04-05 11:12:15.000000000 -0500
@@ -99,7 +99,7 @@ Runs `calendar-after-frame-setup-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.
-      (or (buffer-live-p fancy-diary-buffer)
+      (or (buffer-live-p (get-buffer fancy-diary-buffer))
           (calendar-in-read-only-buffer fancy-diary-buffer
             (calendar-set-mode-line "Diary Entries")))
       fancy-diary-buffer))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]