Mercurial > emacs
diff lisp/calendar/cal-dst.el @ 93658:792fb2cc28be
(calendar-time-zone-daylight-rules): Reset
new-rules after each round.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Fri, 04 Apr 2008 11:43:39 +0000 |
parents | e13ec6b5b482 |
children | 08cef8c6f3d2 |
line wrap: on
line diff
--- a/lisp/calendar/cal-dst.el Fri Apr 04 11:10:26 2008 +0000 +++ b/lisp/calendar/cal-dst.el Fri Apr 04 11:43:39 2008 +0000 @@ -240,7 +240,8 @@ ;; it's wrong in general, but it's right for at least one year. (setq candidate-rules (if new-rules (nreverse new-rules) (list (car candidate-rules))) - year (1+ year))) + new-rules nil + year (1+ year))) (car candidate-rules))) ;; TODO it might be better to extract this information directly from