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

(see comments; reverts 2008-04-02 change).  (Bug#2199)
This commit is contained in:
Glenn Morris 2009-02-08 01:52:26 +00:00
parent 6ed1743386
commit c253eff0ae
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,11 @@
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.

View file

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