changeset 26329:5dfb5127e9ee

(redraw-calendar): Move to nearest date before redrawing.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 03 Nov 1999 15:08:53 +0000
parents 8c9e0c4459a8
children d0f895577892
files lisp/calendar/calendar.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/calendar.el	Wed Nov 03 14:30:11 1999 +0000
+++ b/lisp/calendar/calendar.el	Wed Nov 03 15:08:53 1999 +0000
@@ -1860,7 +1860,7 @@
 (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)))