Commit c253eff0 authored by Glenn Morris's avatar Glenn Morris

(diary-fancy-display): It doesn't make sense to check font-lock-mode

(see comments; reverts 2008-04-02 change).  (Bug#2199)
parent 6ed17433
2009-02-08 Glenn Morris <rgm@gnu.org>
* calendar/calendar.el (diary-entry-marker, calendar-today-marker)
(calendar-holiday-marker, calendar-mark-visible-date):
* calendar/diary-lib.el (diary-fancy-display):
It doesn't make sense to check font-lock-mode (see comments;
reverts 2008-04-02 change). (Bug#2199)
2009-02-08 Juri Linkov <juri@jurta.org>
* simple.el (toggle-word-wrap): New command.
......
......@@ -1017,7 +1017,9 @@ This is an option for `diary-display-function'."
(nth 1 entry)))
:type 'diary-entry)
(insert this-entry ?\n))
(and font-lock-mode
;; Doesn't make sense to check font-lock-mode - see
;; comments above diary-entry-marker in calendar.el.
(and ; font-lock-mode
(setq marks (nth 4 entry))
(save-excursion
(setq temp-face (calendar-make-temp-face marks))
......
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