From: Glenn Morris Date: Sun, 10 Aug 2008 20:05:45 +0000 (+0000) Subject: (holiday-julian): Fix a problem with holidays in the last fortnight in X-Git-Tag: emacs-pretest-22.2.90~23 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bf9b4e4e7f6697c3ce3f4d7fd88982e609879a25;p=emacs.git (holiday-julian): Fix a problem with holidays in the last fortnight in Julian October (sync from trunk 2008-03-31). --- diff --git a/lisp/calendar/cal-julian.el b/lisp/calendar/cal-julian.el index ef7ad67272b..273958f4e02 100644 --- a/lisp/calendar/cal-julian.el +++ b/lisp/calendar/cal-julian.el @@ -153,7 +153,7 @@ nil if it is not visible in the current calendar window." (julian-end (calendar-julian-from-absolute end-date)) (julian-y1 (extract-calendar-year julian-start)) (julian-y2 (extract-calendar-year julian-end))) - (setq year (if (< 10 month) julian-y1 julian-y2)) + (setq year (if (<= 10 month) julian-y1 julian-y2)) (let ((date (calendar-gregorian-from-absolute (calendar-absolute-from-julian (list month day year)))))