Function: calendar-goto-today
calendar-goto-today is an autoloaded, interactive and byte-compiled
function defined in cal-move.el.gz.
Signature
(calendar-goto-today)
Documentation
Reposition the calendar window so the current date is visible.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/cal-move.el.gz
;;;###cal-autoload
(defun calendar-goto-today ()
"Reposition the calendar window so the current date is visible."
(interactive)
(let ((today (calendar-current-date))) ; the date might have changed
(if (not (calendar-date-is-visible-p today))
(calendar-generate-window)
(calendar-update-mode-line)
(calendar-cursor-to-visible-date today)))
(run-hooks 'calendar-move-hook))