diff options
| author | Glenn Morris | 2008-03-08 04:26:44 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-03-08 04:26:44 +0000 |
| commit | d7af270b439a9daa80f8006f580a4fd2133e5965 (patch) | |
| tree | 781c5666a6192925c434bbc5bcbe276ee40450ca | |
| parent | 6fd6d1d81ffd75242e704856f2879f92bd97106f (diff) | |
| download | emacs-d7af270b439a9daa80f8006f580a4fd2133e5965.tar.gz emacs-d7af270b439a9daa80f8006f580a4fd2133e5965.zip | |
Comment.
| -rw-r--r-- | lisp/calendar/cal-china.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/calendar/cal-china.el b/lisp/calendar/cal-china.el index 1a2f2210f38..f11a692b108 100644 --- a/lisp/calendar/cal-china.el +++ b/lisp/calendar/cal-china.el | |||
| @@ -45,7 +45,6 @@ | |||
| 45 | 45 | ||
| 46 | ;;; Code: | 46 | ;;; Code: |
| 47 | 47 | ||
| 48 | (defvar date) | ||
| 49 | (defvar displayed-month) | 48 | (defvar displayed-month) |
| 50 | (defvar displayed-year) | 49 | (defvar displayed-year) |
| 51 | 50 | ||
| @@ -502,6 +501,9 @@ Echo Chinese date unless NOECHO is t." | |||
| 502 | (make-chinese-month-assoc-list (cdr l)))) | 501 | (make-chinese-month-assoc-list (cdr l)))) |
| 503 | (list (cons (int-to-string (car l)) (car l)))))) | 502 | (list (cons (int-to-string (car l)) (car l)))))) |
| 504 | 503 | ||
| 504 | (defvar date) | ||
| 505 | |||
| 506 | ;; To be called from list-sexp-diary-entries, where DATE is bound. | ||
| 505 | (defun diary-chinese-date () | 507 | (defun diary-chinese-date () |
| 506 | "Chinese calendar equivalent of date diary entry." | 508 | "Chinese calendar equivalent of date diary entry." |
| 507 | (format "Chinese date: %s" (calendar-chinese-date-string date))) | 509 | (format "Chinese date: %s" (calendar-chinese-date-string date))) |