aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-03-29 23:26:17 +0000
committerGlenn Morris2008-03-29 23:26:17 +0000
commitb54eb5847e204a1f7a3014cbbbdaa9687a0cc984 (patch)
treece8b364df7ea8476c0ee656706757910c728359b
parentd53e3af1d4b502561f15860718fe5862ea6f41cf (diff)
downloademacs-b54eb5847e204a1f7a3014cbbbdaa9687a0cc984.tar.gz
emacs-b54eb5847e204a1f7a3014cbbbdaa9687a0cc984.zip
(list-holidays): Use or.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/calendar/holidays.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a9ed1bd869c..a819697a449 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -3,6 +3,8 @@
3 * calendar/cal-hebrew.el (holiday-hebrew): Simplify. 3 * calendar/cal-hebrew.el (holiday-hebrew): Simplify.
4 * calendar/cal-julian.el (holiday-julian): Simplify. 4 * calendar/cal-julian.el (holiday-julian): Simplify.
5 5
6 * calendar/holidays.el (list-holidays): Use or.
7
62008-03-29 Juri Linkov <juri@jurta.org> 82008-03-29 Juri Linkov <juri@jurta.org>
7 9
8 * window.el (split-window-preferred-horizontally): New function. 10 * window.el (split-window-preferred-horizontally): New function.
diff --git a/lisp/calendar/holidays.el b/lisp/calendar/holidays.el
index 833c8b65245..28cde37e400 100644
--- a/lisp/calendar/holidays.el
+++ b/lisp/calendar/holidays.el
@@ -186,7 +186,7 @@ The optional LABEL is used to label the buffer created."
186 (list start-year end-year which name))) 186 (list start-year end-year which name)))
187 (unless y2 (setq y2 y1)) 187 (unless y2 (setq y2 y1))
188 (message "Computing holidays...") 188 (message "Computing holidays...")
189 (let* ((calendar-holidays (if l l calendar-holidays)) 189 (let* ((calendar-holidays (or l calendar-holidays))
190 (title (or label "Holidays")) 190 (title (or label "Holidays"))
191 (holiday-list nil) 191 (holiday-list nil)
192 (s (calendar-absolute-from-gregorian (list 2 1 y1))) 192 (s (calendar-absolute-from-gregorian (list 2 1 y1)))