Function: calendar-redraw
calendar-redraw is an interactive and byte-compiled function defined
in calendar.el.gz.
Signature
(calendar-redraw)
Documentation
Redraw the calendar display, if calendar-buffer is live.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/calendar.el.gz
(defun calendar-redraw ()
"Redraw the calendar display, if `calendar-buffer' is live."
(interactive)
(when (get-buffer calendar-buffer)
(with-current-buffer calendar-buffer
(let ((cursor-date (calendar-cursor-to-nearest-date)))
(calendar-generate-window displayed-month displayed-year)
(calendar-cursor-to-visible-date cursor-date))
(when (window-live-p (get-buffer-window))
(set-window-point (get-buffer-window) (point))))))