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-coptic.el | |
parent | 3b7f72ca55db149e11d26649d187fcaa00a34d8d (diff) | |
download | emacs-b72f88518b89560accf740a4548368863e6238e0.tar.gz emacs-b72f88518b89560accf740a4548368863e6238e0.tar.bz2 emacs-b72f88518b89560accf740a4548368863e6238e0.zip |
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-coptic.el')
-rw-r--r-- | lisp/calendar/cal-coptic.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calendar/cal-coptic.el b/lisp/calendar/cal-coptic.el index 346585e1817..11785c48f10 100644 --- a/lisp/calendar/cal-coptic.el +++ b/lisp/calendar/cal-coptic.el @@ -116,7 +116,7 @@ Defaults to today's date if DATE is not given." (m (calendar-extract-month coptic-date))) (if (< y 1) "" - (calendar-dlet* + (calendar-dlet ((monthname (aref calendar-coptic-month-name-array (1- m))) (day (number-to-string (calendar-extract-day coptic-date))) (dayname nil) |