changeset 101900:f0a6af6c77e8

(diary-fancy-display): It doesn't make sense to check font-lock-mode (see comments; reverts 2008-04-02 change). (Bug#2199)
author Glenn Morris <rgm@gnu.org>
date Sun, 08 Feb 2009 01:52:26 +0000
parents 6c501f7469ab
children 3447d99a0529
files lisp/ChangeLog lisp/calendar/diary-lib.el
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Feb 08 01:52:01 2009 +0000
+++ b/lisp/ChangeLog	Sun Feb 08 01:52:26 2009 +0000
@@ -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.
--- a/lisp/calendar/diary-lib.el	Sun Feb 08 01:52:01 2009 +0000
+++ b/lisp/calendar/diary-lib.el	Sun Feb 08 01:52:26 2009 +0000
@@ -1017,7 +1017,9 @@
                                                     (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))