(calendar-redrawing): Delete.
(redraw-calendar): Do not bind calendar-redrawing.
This commit is contained in:
parent
eae4ba2ac7
commit
7a099c439d
1 changed files with 1 additions and 5 deletions
|
@ -2150,16 +2150,12 @@ the inserted text. Value is always t."
|
|||
(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)))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue