diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-05-07 19:34:18 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-05-07 19:34:18 +0000 |
commit | bbc054a9ab126a8047202fb8109e8225a3c8c48a (patch) | |
tree | 527e7cd8af4d076bac0a40e766906611d702fadc | |
parent | 214c0a6281a6baf83d25c5ec25070fc1c4114878 (diff) | |
download | emacs-bbc054a9ab126a8047202fb8109e8225a3c8c48a.tar.gz |
(holiday-passover-etc): Postpone date of Yom
HaShoah to Monday if it falls on Sunday (as per ammendment passed
by the Israeli Kenesset, May, 1997).
-rw-r--r-- | lisp/calendar/cal-hebrew.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/calendar/cal-hebrew.el b/lisp/calendar/cal-hebrew.el index 23e6d694b08..79bbd956474 100644 --- a/lisp/calendar/cal-hebrew.el +++ b/lisp/calendar/cal-hebrew.el @@ -441,7 +441,10 @@ nil if it is not visible in the current calendar window." "Passover (seventh day)") (list (calendar-gregorian-from-absolute (+ abs-p 7)) "Passover (eighth day)") - (list (calendar-gregorian-from-absolute (+ abs-p 12)) + (list (calendar-gregorian-from-absolute + (if (zerop (% (+ abs-p 12) 7)) + (+ abs-p 13) + (+ abs-p 12))) "Yom HaShoah") (list (calendar-gregorian-from-absolute (if (zerop (% abs-p 7)) |