1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00

(calendar-time-zone-daylight-rules): Reset

new-rules after each round.
This commit is contained in:
Andreas Schwab 2008-04-04 11:43:39 +00:00
parent 42a835e53c
commit e6fa807c5a
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2008-04-04 Andreas Schwab <schwab@suse.de>
* 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)

View File

@ -240,7 +240,8 @@ The result has the proper form for `calendar-daylight-savings-starts'."
;; 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