changeset 93412:5f88d76e42f0

(list-holidays): Use or.
author Glenn Morris <rgm@gnu.org>
date Sat, 29 Mar 2008 23:26:05 +0000
parents 2e939b95b436
children a9e1c30d4f01
files lisp/calendar/holidays.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/holidays.el	Sat Mar 29 23:24:35 2008 +0000
+++ b/lisp/calendar/holidays.el	Sat Mar 29 23:26:05 2008 +0000
@@ -186,7 +186,7 @@
      (list start-year end-year which name)))
   (unless y2 (setq y2 y1))
   (message "Computing holidays...")
-  (let* ((calendar-holidays (if l l calendar-holidays))
+  (let* ((calendar-holidays (or l calendar-holidays))
          (title (or label "Holidays"))
          (holiday-list nil)
          (s (calendar-absolute-from-gregorian (list 2 1 y1)))