changeset 92607:90e80e5b0c97

Comments.
author Glenn Morris <rgm@gnu.org>
date Sat, 08 Mar 2008 04:19:47 +0000
parents f49e5129551f
children 18dc9ef91100
files lisp/calendar/cal-mayan.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/cal-mayan.el	Sat Mar 08 04:18:57 2008 +0000
+++ b/lisp/calendar/cal-mayan.el	Sat Mar 08 04:19:47 2008 +0000
@@ -53,8 +53,6 @@
 
 ;;; Code:
 
-(defvar date)
-
 (require 'calendar)
 
 (defconst calendar-mayan-days-before-absolute-zero 1137142
@@ -381,6 +379,9 @@
             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)))