aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-11-25 02:49:38 +0000
committerGlenn Morris2007-11-25 02:49:38 +0000
commit771e1882933cfc7ef45952bf6da0c725c957eb75 (patch)
tree4883f00f4840ac554d4b7dcdc69fb37c26d624db
parent93a2ac9768d893731149deb44b7b1919621e6277 (diff)
downloademacs-771e1882933cfc7ef45952bf6da0c725c957eb75.tar.gz
emacs-771e1882933cfc7ef45952bf6da0c725c957eb75.zip
Revert previous commit, made without ChangeLog entry.
-rw-r--r--lisp/calendar/cal-menu.el12
1 files changed, 7 insertions, 5 deletions
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 @@
95 ,@(let ((l ())) 95 ,@(let ((l ()))
96 ;; Show 11 years--5 before, 5 after year of middle month. 96 ;; Show 11 years--5 before, 5 after year of middle month.
97 (dotimes (i 11) 97 (dotimes (i 11)
98 (let ((y (+ 2007 -5 i))) 98 (push (vector "For Year"
99 (push (vector (format "For Year %s" y) 99 `(lambda ()
100 (list (list 'lambda 'nil '(interactive) 100 (interactive)
101 (list 'list-holidays y y)))) 101 (holiday-list (+ displayed-year ,(- i 5))
102 l))) 102 (+ displayed-year ,(- i 5))))
103 :suffix `(number-to-string (+ displayed-year ,(- i 5))))
104 l))
103 (nreverse l)) 105 (nreverse l))
104 "--" 106 "--"
105 ["Unmark Calendar" calendar-unmark] 107 ["Unmark Calendar" calendar-unmark]