Function: calendar-goto-date
calendar-goto-date is an autoloaded, interactive and byte-compiled
function defined in cal-move.el.gz.
Signature
(calendar-goto-date DATE)
Documentation
Move cursor to DATE.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/cal-move.el.gz
;;;###cal-autoload
(defun calendar-goto-date (date)
"Move cursor to DATE."
(interactive (list (calendar-read-date)))
(let ((month (calendar-extract-month date))
(year (calendar-extract-year date)))
(if (not (calendar-date-is-visible-p date))
(calendar-other-month
(if (and (= month 1) (= year 1))
2
month)
year)))
(calendar-cursor-to-visible-date date)
(run-hooks 'calendar-move-hook))