]> git.eshelyaron.com Git - emacs.git/commit
* lisp/calendar/diary-lib.el: Use lexical-binding
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 4 Dec 2017 22:03:32 +0000 (17:03 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 4 Dec 2017 22:03:32 +0000 (17:03 -0500)
commit559d685f68174d0401833a36cdcb573a88ee8e14
tree66f69c2a6eed522ebad4f1daecc4b1a107a67a66
parent2dd14bf72504c1ba2b505f70d864b13e0661fc79
* lisp/calendar/diary-lib.el: Use lexical-binding

(diary-pull-attrs): Avoid let...setq.
(diary-list-entries-2, diary-mark-entries-1)
(diary-font-lock-date-forms, diary-fancy-date-pattern):
Use calendar-dlet* around uses of diary-date-forms.
(list-only, number, date, entry): Don't declare globally.
(diary-including): Declare.
(diary-saved-point, date-string): Move before first use.
(diary-list-entries): Use calendar-dlet* around
diary-nongregorian-listing-hook and 'diary-list-entries-hook.
(displayed-year, displayed-month): Move before first use.
(diary-sexp-entry): Use calendar-let* around evaluation of the sexp.
(diary-remind): Use calendar-let* around evaluation of sexp.
lisp/calendar/diary-lib.el