diff options
author | Mattias Engdegård <mattiase@acm.org> | 2021-08-01 17:05:48 +0200 |
---|---|---|
committer | Mattias Engdegård <mattiase@acm.org> | 2021-08-01 17:12:40 +0200 |
commit | b72f88518b89560accf740a4548368863e6238e0 (patch) | |
tree | 4a7791ef4f255ef54b1510d48ee34ee0e8a10381 /lisp/calendar/cal-bahai.el | |
parent | 3b7f72ca55db149e11d26649d187fcaa00a34d8d (diff) | |
download | emacs-b72f88518b89560accf740a4548368863e6238e0.tar.gz |
Make dlet work like let, not let*
Change `dlet` so that it has binding semantics like `let` because that
is what a user would expect and it allows a corresponding `dlet*` to
be added later should the need arise. Fortunately the change has no
effect where it is currently used.
* lisp/subr.el (dlet): Work like let.
* lisp/calendar/cal-bahai.el (calendar-bahai-date-string):
* lisp/calendar/cal-coptic.el (calendar-coptic-date-string):
* lisp/calendar/cal-dst.el (calendar-time-zone-daylight-rules)
(calendar-dst-starts, dst-in-effect):
* lisp/calendar/cal-persia.el (calendar-persian-date-string):
* lisp/calendar/calendar.el (calendar-dlet, calendar-generate-month)
(calendar-update-mode-line, calendar-date-string):
* lisp/calendar/diary-lib.el (diary-list-entries-2)
(diary-list-entries, diary-mark-entries-1, diary-sexp-entry)
(diary-remind, diary-font-lock-date-forms, diary-fancy-date-pattern):
* lisp/calendar/holidays.el (holiday-sexp):
* lisp/calendar/icalendar.el (icalendar--convert-float-to-ical):
* lisp/calendar/solar.el (solar-time-string):
* lisp/calendar/todo-mode.el (todo-date-pattern)
(todo-edit-item--header, todo-convert-legacy-date-time)
(todo-read-date):
Rename `calendar-dlet*` to `calendar-dlet` since it uses `dlet`.
Diffstat (limited to 'lisp/calendar/cal-bahai.el')
-rw-r--r-- | lisp/calendar/cal-bahai.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calendar/cal-bahai.el b/lisp/calendar/cal-bahai.el index ff419c72f6f..350b7e51cb1 100644 --- a/lisp/calendar/cal-bahai.el +++ b/lisp/calendar/cal-bahai.el @@ -126,7 +126,7 @@ Defaults to today's date if DATE is not given." "" ; pre-Bahai (let ((m (calendar-extract-month bahai-date)) (d (calendar-extract-day bahai-date))) - (calendar-dlet* + (calendar-dlet ((monthname (if (and (= m 19) (<= d 0)) "Ayyám-i-Há" |