* lisp/calendar/cal-menu.el (cal-menu-holidays-menu): Use a proper closure
This commit is contained in:
parent
502e3ce614
commit
48744903de
1 changed files with 3 additions and 3 deletions
|
@ -104,9 +104,9 @@
|
|||
;; The bug has since been fixed.
|
||||
(dotimes (i 11)
|
||||
(push (vector (format "hol-year-%d" i)
|
||||
`(lambda ()
|
||||
(interactive)
|
||||
(holiday-list (+ displayed-year ,(- i 5))))
|
||||
(lambda ()
|
||||
(interactive)
|
||||
(holiday-list (+ displayed-year (- i 5))))
|
||||
:label `(format "For Year %d"
|
||||
(+ displayed-year ,(- i 5))))
|
||||
l))
|
||||
|
|
Loading…
Add table
Reference in a new issue