Function: calendar-mayan-goto-long-count-date
calendar-mayan-goto-long-count-date is an autoloaded, interactive and
byte-compiled function defined in cal-mayan.el.gz.
Signature
(calendar-mayan-goto-long-count-date DATE &optional NOECHO)
Documentation
Move cursor to Mayan long count DATE.
Echo Mayan date unless NOECHO is non-nil.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/cal-mayan.el.gz
;;;###cal-autoload
(defun calendar-mayan-goto-long-count-date (date &optional noecho)
"Move cursor to Mayan long count DATE.
Echo Mayan date unless NOECHO is non-nil."
(interactive
(let (datum)
(while (not (setq datum
(calendar-mayan-string-from-long-count
(read-string
"Mayan long count (baktun.katun.tun.uinal.kin): "
(calendar-mayan-long-count-to-string
(calendar-mayan-long-count-from-absolute
(calendar-absolute-from-gregorian
(calendar-current-date))))))
datum (if (calendar-mayan-long-count-common-era datum)
(list datum)))))
datum))
(calendar-goto-date
(calendar-gregorian-from-absolute
(calendar-mayan-long-count-to-absolute date)))
(or noecho (calendar-mayan-print-date)))