mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-16 02:50:26 -08:00
(list-holidays): Use or.
This commit is contained in:
parent
d53e3af1d4
commit
b54eb5847e
2 changed files with 3 additions and 1 deletions
|
|
@ -3,6 +3,8 @@
|
|||
* calendar/cal-hebrew.el (holiday-hebrew): Simplify.
|
||||
* calendar/cal-julian.el (holiday-julian): Simplify.
|
||||
|
||||
* calendar/holidays.el (list-holidays): Use or.
|
||||
|
||||
2008-03-29 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* window.el (split-window-preferred-horizontally): New function.
|
||||
|
|
|
|||
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue