summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-03-29 23:26:05 +0000
committerGlenn Morris <rgm@gnu.org>2008-03-29 23:26:05 +0000
commitd65a2697f80d3410d195b3d22e0fedd8d5891a74 (patch)
tree75874ba2a88e3dc81e5d5ec585b9ae4766ff9041 /lisp
parent1dc3417c09623a2ba18117d899ed1452acf039e9 (diff)
downloademacs-d65a2697f80d3410d195b3d22e0fedd8d5891a74.tar.gz
(list-holidays): Use or.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/calendar/holidays.el2
1 files changed, 1 insertions, 1 deletions
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."
(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)))