# HG changeset patch # User Andreas Schwab # Date 1207309419 0 # Node ID 792fb2cc28be102310864cbbffe3b1a44ee11e49 # Parent c6cad0a1a68b142e1028f27d995a68e9498fa0c0 (calendar-time-zone-daylight-rules): Reset new-rules after each round. diff -r c6cad0a1a68b -r 792fb2cc28be lisp/ChangeLog --- a/lisp/ChangeLog Fri Apr 04 11:10:26 2008 +0000 +++ b/lisp/ChangeLog Fri Apr 04 11:43:39 2008 +0000 @@ -1,5 +1,8 @@ 2008-04-04 Andreas Schwab + * calendar/cal-dst.el (calendar-time-zone-daylight-rules): Reset + new-rules after each round. + * Makefile.in (cal-autoloads): New target. (compile, compile-always, recompile): Depend on it. ($(lisp)/calendar/cal-loaddefs.el) diff -r c6cad0a1a68b -r 792fb2cc28be lisp/calendar/cal-dst.el --- 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