From: Glenn Morris Date: Sat, 8 Mar 2008 04:19:47 +0000 (+0000) Subject: Comments. X-Git-Tag: emacs-pretest-23.0.90~7370 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1ddbd3a6f2956a72c0e2ff2307a0dd3d73277f77;p=emacs.git Comments. --- diff --git a/lisp/calendar/cal-mayan.el b/lisp/calendar/cal-mayan.el index 30b9cc26c38..b3ed1c89887 100644 --- a/lisp/calendar/cal-mayan.el +++ b/lisp/calendar/cal-mayan.el @@ -53,8 +53,6 @@ ;;; Code: -(defvar date) - (require 'calendar) (defconst calendar-mayan-days-before-absolute-zero 1137142 @@ -381,6 +379,9 @@ Defaults to today's date if DATE is not given." base (cdr base))) (or (null lc) (> (car lc) (car base))))) +(defvar date) + +;; To be called from list-sexp-diary-entries, where DATE is bound. (defun diary-mayan-date () "Show the Mayan long count, haab, and tzolkin dates as a diary entry." (format "Mayan date: %s" (calendar-mayan-date-string date)))