From: Richard M. Stallman Date: Wed, 7 May 1997 19:34:18 +0000 (+0000) Subject: (holiday-passover-etc): Postpone date of Yom X-Git-Tag: emacs-20.1~2251 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bbc054a9ab126a8047202fb8109e8225a3c8c48a;p=emacs.git (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). --- 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))