all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Small problem with fancy diary display.
@ 2008-04-05 18:05 David Koppelman
  0 siblings, 0 replies; only message in thread
From: David Koppelman @ 2008-04-05 18:05 UTC (permalink / raw)
  To: emacs-devel

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))




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-05 18:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-05 18:05 Small problem with fancy diary display David Koppelman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.