From: Glenn Morris Date: Sat, 8 Mar 2008 04:26:21 +0000 (+0000) Subject: (coptic-name): Add doc string. X-Git-Tag: emacs-pretest-23.0.90~7364 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6fd6d1d81ffd75242e704856f2879f92bd97106f;p=emacs.git (coptic-name): Add doc string. Comments. --- diff --git a/lisp/calendar/cal-coptic.el b/lisp/calendar/cal-coptic.el index 7e81aa2a8ae..c22bc65ddc2 100644 --- a/lisp/calendar/cal-coptic.el +++ b/lisp/calendar/cal-coptic.el @@ -36,10 +36,10 @@ ;;; Code: -(defvar date) - (require 'cal-julian) +;; Not constants because they get let-bound. + (defvar coptic-calendar-month-name-array ["Tut" "Babah" "Hatur" "Kiyahk" "Tubah" "Amshir" "Baramhat" "Barmundah" "Bashans" "Baunah" "Abib" "Misra" "al-Nasi"]) @@ -47,7 +47,8 @@ (defvar coptic-calendar-epoch (calendar-absolute-from-julian '(8 29 284)) "Absolute date of start of Coptic calendar = August 29, 284 A.D. (Julian).") -(defvar coptic-name "Coptic") +(defvar coptic-name "Coptic" + "Used in some message strings.") (defun coptic-calendar-leap-year-p (year) "True if YEAR is a leap year on the Coptic calendar." @@ -229,6 +230,9 @@ Echo Ethiopic date unless NOECHO is t." (calendar-absolute-from-ethiopic date))) (or noecho (calendar-print-ethiopic-date))) +(defvar date) + +;; To be called from list-sexp-diary-entries, where DATE is bound. (defun diary-ethiopic-date () "Ethiopic calendar equivalent of date diary entry." (let ((coptic-calendar-epoch ethiopic-calendar-epoch)