diff options
| author | Juanma Barranquero | 2005-08-26 11:19:05 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-08-26 11:19:05 +0000 |
| commit | 916f8173d7cf205bfe17d7dc81871b6f49107280 (patch) | |
| tree | 7a4921d11853b966e6bf7b97fc8b57da6a0bce88 | |
| parent | f6c05015bbcc2b5536384ec14789291a93709fc9 (diff) | |
| download | emacs-916f8173d7cf205bfe17d7dc81871b6f49107280.tar.gz emacs-916f8173d7cf205bfe17d7dc81871b6f49107280.zip | |
(date, displayed-month, displayed-year, number, original-date):
Add defvars.
| -rw-r--r-- | lisp/calendar/cal-bahai.el | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/lisp/calendar/cal-bahai.el b/lisp/calendar/cal-bahai.el index 6bf84d11951..dd06ca6b9ef 100644 --- a/lisp/calendar/cal-bahai.el +++ b/lisp/calendar/cal-bahai.el | |||
| @@ -54,6 +54,12 @@ | |||
| 54 | 54 | ||
| 55 | ;;; Code: | 55 | ;;; Code: |
| 56 | 56 | ||
| 57 | (defvar date) | ||
| 58 | (defvar displayed-month) | ||
| 59 | (defvar displayed-year) | ||
| 60 | (defvar number) | ||
| 61 | (defvar original-date) | ||
| 62 | |||
| 57 | (require 'cal-julian) | 63 | (require 'cal-julian) |
| 58 | 64 | ||
| 59 | (defvar bahai-calendar-month-name-array | 65 | (defvar bahai-calendar-month-name-array |
| @@ -215,7 +221,7 @@ calendar. This function is provided for use with the | |||
| 215 | (mark (regexp-quote diary-nonmarking-symbol))) | 221 | (mark (regexp-quote diary-nonmarking-symbol))) |
| 216 | (calendar-for-loop i from 1 to number do | 222 | (calendar-for-loop i from 1 to number do |
| 217 | (let* ((d diary-date-forms) | 223 | (let* ((d diary-date-forms) |
| 218 | (bdate (calendar-bahai-from-absolute | 224 | (bdate (calendar-bahai-from-absolute |
| 219 | (calendar-absolute-from-gregorian gdate))) | 225 | (calendar-absolute-from-gregorian gdate))) |
| 220 | (month (extract-calendar-month bdate)) | 226 | (month (extract-calendar-month bdate)) |
| 221 | (day (extract-calendar-day bdate)) | 227 | (day (extract-calendar-day bdate)) |
| @@ -460,7 +466,7 @@ Prefix arg will make the entry nonmarking." | |||
| 460 | (make-diary-entry | 466 | (make-diary-entry |
| 461 | (concat | 467 | (concat |
| 462 | bahai-diary-entry-symbol | 468 | bahai-diary-entry-symbol |
| 463 | (calendar-date-string | 469 | (calendar-date-string |
| 464 | (calendar-bahai-from-absolute | 470 | (calendar-bahai-from-absolute |
| 465 | (calendar-absolute-from-gregorian | 471 | (calendar-absolute-from-gregorian |
| 466 | (calendar-cursor-to-date t))) | 472 | (calendar-cursor-to-date t))) |
| @@ -478,7 +484,7 @@ Prefix arg will make the entry nonmarking." | |||
| 478 | (make-diary-entry | 484 | (make-diary-entry |
| 479 | (concat | 485 | (concat |
| 480 | bahai-diary-entry-symbol | 486 | bahai-diary-entry-symbol |
| 481 | (calendar-date-string | 487 | (calendar-date-string |
| 482 | (calendar-bahai-from-absolute | 488 | (calendar-bahai-from-absolute |
| 483 | (calendar-absolute-from-gregorian | 489 | (calendar-absolute-from-gregorian |
| 484 | (calendar-cursor-to-date t))))) | 490 | (calendar-cursor-to-date t))))) |
| @@ -497,7 +503,7 @@ Prefix arg will make the entry nonmarking." | |||
| 497 | (make-diary-entry | 503 | (make-diary-entry |
| 498 | (concat | 504 | (concat |
| 499 | bahai-diary-entry-symbol | 505 | bahai-diary-entry-symbol |
| 500 | (calendar-date-string | 506 | (calendar-date-string |
| 501 | (calendar-bahai-from-absolute | 507 | (calendar-bahai-from-absolute |
| 502 | (calendar-absolute-from-gregorian | 508 | (calendar-absolute-from-gregorian |
| 503 | (calendar-cursor-to-date t))))) | 509 | (calendar-cursor-to-date t))))) |