diff options
| author | Glenn Morris | 2008-03-08 04:26:21 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-03-08 04:26:21 +0000 |
| commit | 6fd6d1d81ffd75242e704856f2879f92bd97106f (patch) | |
| tree | 5a3350ddc94cf6de8ca8132b031f0f9b64de251d | |
| parent | 9081fdbc64ef21a8fef2f9f4a3c079e3bf16b3e5 (diff) | |
| download | emacs-6fd6d1d81ffd75242e704856f2879f92bd97106f.tar.gz emacs-6fd6d1d81ffd75242e704856f2879f92bd97106f.zip | |
(coptic-name): Add doc string.
Comments.
| -rw-r--r-- | lisp/calendar/cal-coptic.el | 10 |
1 files changed, 7 insertions, 3 deletions
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 @@ | |||
| 36 | 36 | ||
| 37 | ;;; Code: | 37 | ;;; Code: |
| 38 | 38 | ||
| 39 | (defvar date) | ||
| 40 | |||
| 41 | (require 'cal-julian) | 39 | (require 'cal-julian) |
| 42 | 40 | ||
| 41 | ;; Not constants because they get let-bound. | ||
| 42 | |||
| 43 | (defvar coptic-calendar-month-name-array | 43 | (defvar coptic-calendar-month-name-array |
| 44 | ["Tut" "Babah" "Hatur" "Kiyahk" "Tubah" "Amshir" "Baramhat" "Barmundah" | 44 | ["Tut" "Babah" "Hatur" "Kiyahk" "Tubah" "Amshir" "Baramhat" "Barmundah" |
| 45 | "Bashans" "Baunah" "Abib" "Misra" "al-Nasi"]) | 45 | "Bashans" "Baunah" "Abib" "Misra" "al-Nasi"]) |
| @@ -47,7 +47,8 @@ | |||
| 47 | (defvar coptic-calendar-epoch (calendar-absolute-from-julian '(8 29 284)) | 47 | (defvar coptic-calendar-epoch (calendar-absolute-from-julian '(8 29 284)) |
| 48 | "Absolute date of start of Coptic calendar = August 29, 284 A.D. (Julian).") | 48 | "Absolute date of start of Coptic calendar = August 29, 284 A.D. (Julian).") |
| 49 | 49 | ||
| 50 | (defvar coptic-name "Coptic") | 50 | (defvar coptic-name "Coptic" |
| 51 | "Used in some message strings.") | ||
| 51 | 52 | ||
| 52 | (defun coptic-calendar-leap-year-p (year) | 53 | (defun coptic-calendar-leap-year-p (year) |
| 53 | "True if YEAR is a leap year on the Coptic calendar." | 54 | "True if YEAR is a leap year on the Coptic calendar." |
| @@ -229,6 +230,9 @@ Echo Ethiopic date unless NOECHO is t." | |||
| 229 | (calendar-absolute-from-ethiopic date))) | 230 | (calendar-absolute-from-ethiopic date))) |
| 230 | (or noecho (calendar-print-ethiopic-date))) | 231 | (or noecho (calendar-print-ethiopic-date))) |
| 231 | 232 | ||
| 233 | (defvar date) | ||
| 234 | |||
| 235 | ;; To be called from list-sexp-diary-entries, where DATE is bound. | ||
| 232 | (defun diary-ethiopic-date () | 236 | (defun diary-ethiopic-date () |
| 233 | "Ethiopic calendar equivalent of date diary entry." | 237 | "Ethiopic calendar equivalent of date diary entry." |
| 234 | (let ((coptic-calendar-epoch ethiopic-calendar-epoch) | 238 | (let ((coptic-calendar-epoch ethiopic-calendar-epoch) |