diff options
| -rw-r--r-- | lisp/ChangeLog | 16 | ||||
| -rw-r--r-- | lisp/calendar/cal-bahai.el | 6 |
2 files changed, 19 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2845beacdef..a80295f3613 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -2,14 +2,30 @@ | |||
| 2 | 2 | ||
| 3 | * calendar/appt.el (appt): Move custom group here from calendar.el. | 3 | * calendar/appt.el (appt): Move custom group here from calendar.el. |
| 4 | 4 | ||
| 5 | * calendar/cal-bahai.el (calendar-bahai-prompt-for-date) | ||
| 6 | (calendar-bahai-mark-date-pattern): | ||
| 7 | * calendar/cal-hebrew.el (mark-hebrew-calendar-date-pattern): | ||
| 8 | * calendar/cal-islam.el (mark-islamic-calendar-date-pattern): | ||
| 9 | * calendar/cal-julian.el (calendar-absolute-from-julian): | ||
| 10 | * calendar/cal-persia.el (persian-prompt-for-date): Use zerop. | ||
| 11 | |||
| 5 | * calendar/cal-china.el (chinese-calendar): Move custom group here from | 12 | * calendar/cal-china.el (chinese-calendar): Move custom group here from |
| 6 | calendar.el. | 13 | calendar.el. |
| 7 | (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch): | 14 | (chinese-calendar-celestial-stem, chinese-calendar-terrestrial-branch): |
| 8 | Make constants. | 15 | Make constants. |
| 9 | 16 | ||
| 17 | * calendar/cal-coptic.el (coptic-name): Add doc string. | ||
| 18 | |||
| 19 | * calendar/cal-persia.el (persian-calendar-month-name-array) | ||
| 20 | (persian-calendar-epoch): Make constants. | ||
| 21 | |||
| 10 | * calendar/cal-tex.el (calendar-tex): Move custom group here from | 22 | * calendar/cal-tex.el (calendar-tex): Move custom group here from |
| 11 | calendar.el. | 23 | calendar.el. |
| 12 | 24 | ||
| 25 | * calendar/cal-x.el (diary-frame-parameters) | ||
| 26 | (calendar-frame-parameters, calendar-and-diary-frame-parameters) | ||
| 27 | (calendar-after-frame-setup-hooks): Make defcustoms. | ||
| 28 | |||
| 13 | * calendar/cal-loaddefs.el: New file. | 29 | * calendar/cal-loaddefs.el: New file. |
| 14 | 30 | ||
| 15 | * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el: | 31 | * calendar/cal-bahai.el, calendar/cal-china.el, calendar/cal-coptic.el: |
diff --git a/lisp/calendar/cal-bahai.el b/lisp/calendar/cal-bahai.el index f18b88528e9..15688e9e834 100644 --- a/lisp/calendar/cal-bahai.el +++ b/lisp/calendar/cal-bahai.el | |||
| @@ -165,7 +165,7 @@ Echo Bahá'í date unless NOECHO is t." | |||
| 165 | (let* ((today (calendar-current-date)) | 165 | (let* ((today (calendar-current-date)) |
| 166 | (year (calendar-read | 166 | (year (calendar-read |
| 167 | "Bahá'í calendar year (not 0): " | 167 | "Bahá'í calendar year (not 0): " |
| 168 | (lambda (x) (/= x 0)) | 168 | (lambda (x) (not (zerop x))) |
| 169 | (int-to-string | 169 | (int-to-string |
| 170 | (extract-calendar-year | 170 | (extract-calendar-year |
| 171 | (calendar-bahai-from-absolute | 171 | (calendar-bahai-from-absolute |
| @@ -418,8 +418,8 @@ nongregorian-diary-marking-hook." | |||
| 418 | A value of 0 in any position is a wildcard." | 418 | A value of 0 in any position is a wildcard." |
| 419 | (save-excursion | 419 | (save-excursion |
| 420 | (set-buffer calendar-buffer) | 420 | (set-buffer calendar-buffer) |
| 421 | (if (and (/= 0 month) (/= 0 day)) | 421 | (if (and (not (zerop month)) (not (zerop day))) |
| 422 | (if (/= 0 year) | 422 | (if (not (zerop year)) |
| 423 | ;; Fully specified Bahá'í date. | 423 | ;; Fully specified Bahá'í date. |
| 424 | (let ((date (calendar-gregorian-from-absolute | 424 | (let ((date (calendar-gregorian-from-absolute |
| 425 | (calendar-absolute-from-bahai | 425 | (calendar-absolute-from-bahai |