]> git.eshelyaron.com Git - emacs.git/commit
* lisp/calendar/calendar.el: Use lexical-binding
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 19 Jan 2018 04:01:35 +0000 (23:01 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 19 Jan 2018 04:01:35 +0000 (23:01 -0500)
commitffeb1164d43c351786bc1e93e441fcbc29f5207b
treec29da2aa58288ab6811cfd21dcb6dc7ca5d0da19
parent47019a521f774fbd13441e178a6a82c9989b9912
* lisp/calendar/calendar.el: Use lexical-binding

(calendar-generate-window): Remove unused variable `day'.
(calendar-generate-month): Use calendar-dlet* to provide the dynbind
vars promised by the respective docstrings.
(calendar-update-mode-line): Use calendar-dlet* to provide `date' to
calendar-mode-line-format.  Don't call `eval' here since it's called in
calendar-string-spread anyway!
(calendar-date-string): Use calendar-dlet* to provide the dynbind
vars promised by the docstring of calendar-date-display-form.

* lisp/calendar/diary-lib.el (diary--date-string): Rename from date-string.
lisp/calendar/calendar.el
lisp/calendar/diary-lib.el