From: Glenn Morris Date: Fri, 13 Jun 2014 19:37:52 +0000 (-0400) Subject: Remove pointless code in calendar-generate-window X-Git-Tag: emacs-25.0.90~2639^2~51 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5fd71fed68c5f15effda5da2ca0d0404ffd41093;p=emacs.git Remove pointless code in calendar-generate-window * lisp/calendar/calendar.el (calendar-generate-window): Remove pointless call to font-lock-fontify-buffer. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a8fc42e92eb..0d4bfe84ac2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-06-13 Glenn Morris + + * calendar/calendar.el (calendar-generate-window): + Remove pointless call to font-lock-fontify-buffer. + 2014-06-13 Matthias Meulien * simple.el (completion-list-mode-map): Navigate with tab and backtab diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index b4418c4efaa..581dd3437d9 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el @@ -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 ;; Maintainer: Glenn Morris @@ -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)