Mercurial > emacs
changeset 23998:6a6bb17fba97
(diary-float): Better fix of end-of-year error.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 06 Jan 1999 08:09:27 +0000 |
parents | bbe0c369b955 |
children | 8c46e3a0623e |
files | lisp/calendar/diary-lib.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calendar/diary-lib.el Tue Jan 05 14:20:30 1999 +0000 +++ b/lisp/calendar/diary-lib.el Wed Jan 06 08:09:27 1999 +0000 @@ -1289,7 +1289,8 @@ (calendar-last-day-of-month m1 y1))))) (and (<= d1 d) (<= d d2)))) ;; only possible base dates straddle two months - (and (/= m1 m2) + (and (or (< y1 y2) + (and (= y1 y2) (< m1 m2))) (or ;; m1, d1 works as a base date (and