mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-06 08:54:05 +00:00
(redraw-calendar): Move to nearest date before
redrawing.
This commit is contained in:
parent
5865af0db1
commit
d172e3e45a
@ -1860,7 +1860,7 @@ the inserted text. Value is always t."
|
||||
(defun redraw-calendar ()
|
||||
"Redraw the calendar display."
|
||||
(interactive)
|
||||
(let ((cursor-date (calendar-cursor-to-date)))
|
||||
(let ((cursor-date (calendar-cursor-to-nearest-date)))
|
||||
(generate-calendar-window displayed-month displayed-year)
|
||||
(calendar-cursor-to-visible-date cursor-date)))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user