]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove pointless code in calendar-generate-window
authorGlenn Morris <rgm@gnu.org>
Fri, 13 Jun 2014 19:37:52 +0000 (15:37 -0400)
committerGlenn Morris <rgm@gnu.org>
Fri, 13 Jun 2014 19:37:52 +0000 (15:37 -0400)
* lisp/calendar/calendar.el (calendar-generate-window):
Remove pointless call to font-lock-fontify-buffer.

lisp/ChangeLog
lisp/calendar/calendar.el

index a8fc42e92eb9ba5a4c91efb30c65046815af39fd..0d4bfe84ac26fa862dac36c488e2423475f5febc 100644 (file)
@@ -1,3 +1,8 @@
+2014-06-13  Glenn Morris  <rgm@gnu.org>
+
+       * calendar/calendar.el (calendar-generate-window):
+       Remove pointless call to font-lock-fontify-buffer.
+
 2014-06-13  Matthias Meulien  <orontee@gmail.com>
 
        * simple.el (completion-list-mode-map): Navigate with tab and backtab
index b4418c4efaaa80468435a242bb7b23ab49ba1fdc..581dd3437d9a0ce8ee8deadc14a8464c9449f081 100644 (file)
@@ -1,7 +1,6 @@
 ;;; calendar.el --- calendar functions
 
-;; Copyright (C) 1988-1995, 1997, 2000-2014 Free Software Foundation,
-;; Inc.
+;; Copyright (C) 1988-1995, 1997, 2000-2014 Free Software Foundation, Inc.
 
 ;; Author: Edward M. Reingold <reingold@cs.uiuc.edu>
 ;; Maintainer: Glenn Morris <rgm@gnu.org>
@@ -1474,8 +1473,6 @@ Optional integers MON and YR are used instead of today's date."
        ;; combined don't fit height to that of its buffer.
        (set-window-vscroll nil 0))
       (sit-for 0))
-    (and (bound-and-true-p font-lock-mode)
-         (font-lock-fontify-buffer))    ;FIXME: Why?
     (and calendar-mark-holidays-flag
          ;; (calendar-date-is-valid-p today) ; useful for BC dates
          (calendar-mark-holidays)