Commit 9edfb3d2 authored by Glenn Morris's avatar Glenn Morris

*** empty log message ***

parent d519ea8a
2004-03-24 Glenn Morris <gmorris@ast.cam.ac.uk>
* calendar/appt.el (appt-check): Remove superfluous progn.
When finished with diary buffer: if it was not being displayed
before, kill it; otherwise restore its original state.
Suggested by Matthew Mundell <matt@mundell.ukfsn.org>.
* calendar/calendar.el (calendar-set-mode-line): Use total
available mode-line width, rather than frame-width.
* calendar/diary-lib.el (fancy-diary-display): Set mode-line
after mode change so effect not lost.
2004-03-23 Dave Love <fx@gnu.org>
* dired.el (dired) <defgroup>: Add link to manual.
......
......@@ -554,7 +554,6 @@ This function is provided for optional use as the `diary-display-hook'."
(message "%s" msg)
(set-buffer (get-buffer-create holiday-buffer))
(setq buffer-read-only nil)
(calendar-set-mode-line date-string)
(erase-buffer)
(insert (mapconcat 'identity holiday-list "\n"))
(goto-char (point-min))
......@@ -658,6 +657,7 @@ This function is provided for optional use as the `diary-display-hook'."
(setq buffer-read-only t)
(display-buffer fancy-diary-buffer)
(fancy-diary-display-mode)
(calendar-set-mode-line date-string)
(message "Preparing diary...done"))))
(defun make-fancy-diary-buffer ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment