Mercurial > emacs
changeset 60649:3a754b1548d3
(calendar-redrawing): Delete.
(redraw-calendar): Do not bind calendar-redrawing.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 16 Mar 2005 13:23:09 +0000 |
parents | 02616b531a77 |
children | 5294e5833aef |
files | lisp/calendar/calendar.el |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calendar/calendar.el Wed Mar 16 13:21:20 2005 +0000 +++ b/lisp/calendar/calendar.el Wed Mar 16 13:23:09 2005 +0000 @@ -2150,16 +2150,12 @@ (forward-line 1)))) t) -(defvar calendar-redrawing nil - "Internal calendar variable, non-nil if inside redraw-calendar.") - (defun redraw-calendar () "Redraw the calendar display, if `calendar-buffer' is live." (interactive) (if (get-buffer calendar-buffer) (with-current-buffer calendar-buffer - (let ((cursor-date (calendar-cursor-to-nearest-date)) - (calendar-redrawing t)) + (let ((cursor-date (calendar-cursor-to-nearest-date))) (generate-calendar-window displayed-month displayed-year) (calendar-cursor-to-visible-date cursor-date)))))