From: Glenn Morris Date: Sun, 25 Nov 2007 02:49:38 +0000 (+0000) Subject: Revert previous commit, made without ChangeLog entry. X-Git-Tag: emacs-pretest-23.0.90~9479 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=771e1882933cfc7ef45952bf6da0c725c957eb75;p=emacs.git Revert previous commit, made without ChangeLog entry. --- diff --git a/lisp/calendar/cal-menu.el b/lisp/calendar/cal-menu.el index 094e6421eae..7158774dd2c 100644 --- a/lisp/calendar/cal-menu.el +++ b/lisp/calendar/cal-menu.el @@ -95,11 +95,13 @@ ,@(let ((l ())) ;; Show 11 years--5 before, 5 after year of middle month. (dotimes (i 11) - (let ((y (+ 2007 -5 i))) - (push (vector (format "For Year %s" y) - (list (list 'lambda 'nil '(interactive) - (list 'list-holidays y y)))) - l))) + (push (vector "For Year" + `(lambda () + (interactive) + (holiday-list (+ displayed-year ,(- i 5)) + (+ displayed-year ,(- i 5)))) + :suffix `(number-to-string (+ displayed-year ,(- i 5)))) + l)) (nreverse l)) "--" ["Unmark Calendar" calendar-unmark]