1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 03:52:16 -08:00
emacs/lisp/calendar
Stefan Monnier bacc24b5d0 Use lexical-binding in all the cal-*.el files
* lisp/calendar/cal-bahai.el: Use lexical-binding.
(calendar-bahai-date-string): Use `calendar-dlet*`.

* lisp/calendar/cal-china.el: Use lexical-binding.
(calendar-chinese-zodiac-sign-on-or-after)
(calendar-chinese-new-moon-on-or-after): Declare `year`.
(calendar-chinese-from-absolute-for-diary)
(calendar-chinese-to-absolute-for-diary)
(calendar-chinese-mark-date-pattern): Avoid dynbound var `date` as
function argument.

* lisp/calendar/cal-coptic.el: Use lexical-binding.
(calendar-coptic-date-string): Use `calendar-dlet*`.
(calendar-ethiopic-to-absolute, calendar-ethiopic-from-absolute)
(calendar-ethiopic-date-string, calendar-ethiopic-goto-date):
Avoid dynbound var `date` as function argument.

* lisp/calendar/cal-french.el: Use lexical-binding.

* lisp/calendar/cal-hebrew.el: Use lexical-binding.
(holiday-hebrew-hanukkah): Don't use the third form in `dotimes`.

* lisp/calendar/cal-islam.el: Use lexical-binding.
(calendar-islamic-to-absolute): Comment out unused vars `month` and `day`.

* lisp/calendar/cal-move.el:
* lisp/calendar/cal-mayan.el:
* lisp/calendar/cal-iso.el: Use lexical-binding.

* lisp/calendar/cal-persia.el: Use lexical-binding.
(calendar-persian-date-string): Use `calendar-dlet*`.

* lisp/calendar/cal-html.el: Use lexical-binding.
(cal-html-insert-minical): Comment out unused var `date`.
(cal-html-cursor-month, cal-html-cursor-year): Mark `event` arg as unused.

* lisp/calendar/cal-menu.el: Use lexical-binding.
(diary-list-include-blanks): Declare var.

* lisp/calendar/cal-x.el: Use lexical-binding.

* lisp/calendar/cal-tex.el: Use lexical-binding.
(diary-list-include-blanks): Declare var.
(cal-tex-insert-days, cal-tex-cursor-week-iso, cal-tex-week-hours)
(cal-tex-weekly-common, cal-tex-cursor-filofax-2week)
(cal-tex-cursor-filofax-daily, cal-tex-daily-page): Declare `date`
as dynbound for the benefit of `cal-tex-daily-string`.
2021-01-20 23:56:51 -05:00
..
appt.el * lisp/calendar/appt.el (appt-activate): Set the local write-file-functions 2021-01-03 23:14:18 -05:00
cal-bahai.el Use lexical-binding in all the cal-*.el files 2021-01-20 23:56:51 -05:00
cal-china.el Use lexical-binding in all the cal-*.el files 2021-01-20 23:56:51 -05:00
cal-coptic.el Use lexical-binding in all the cal-*.el files 2021-01-20 23:56:51 -05:00
cal-dst.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cal-french.el Use lexical-binding in all the cal-*.el files 2021-01-20 23:56:51 -05:00
cal-hebrew.el Use lexical-binding in all the cal-*.el files 2021-01-20 23:56:51 -05:00
cal-html.el Use lexical-binding in all the cal-*.el files 2021-01-20 23:56:51 -05:00
cal-islam.el Use lexical-binding in all the cal-*.el files 2021-01-20 23:56:51 -05:00
cal-iso.el Use lexical-binding in all the cal-*.el files 2021-01-20 23:56:51 -05:00
cal-julian.el Use calendar-read-sexp instead of the now obsolete calendar-read 2021-01-20 23:55:40 -05:00
cal-mayan.el Use lexical-binding in all the cal-*.el files 2021-01-20 23:56:51 -05:00
cal-menu.el Use lexical-binding in all the cal-*.el files 2021-01-20 23:56:51 -05:00
cal-move.el Use lexical-binding in all the cal-*.el files 2021-01-20 23:56:51 -05:00
cal-persia.el Use lexical-binding in all the cal-*.el files 2021-01-20 23:56:51 -05:00
cal-tex.el Use lexical-binding in all the cal-*.el files 2021-01-20 23:56:51 -05:00
cal-x.el Use lexical-binding in all the cal-*.el files 2021-01-20 23:56:51 -05:00
calendar.el * lisp/calendar/calendar.el (calendar-read-sexp): New function 2021-01-20 23:47:05 -05:00
diary-lib.el Use calendar-read-sexp instead of the now obsolete calendar-read 2021-01-20 23:55:40 -05:00
holidays.el Use calendar-read-sexp instead of the now obsolete calendar-read 2021-01-20 23:55:40 -05:00
icalendar.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
iso8601.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
lunar.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
parse-time.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
solar.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
time-date.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
timeclock.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00
todo-mode.el Update copyright year to 2021 2021-01-01 01:13:56 -08:00