diff options
author | Andreas Schwab <schwab@suse.de> | 2008-04-04 11:43:39 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2008-04-04 11:43:39 +0000 |
commit | e6fa807c5ae9f8c5aecc7b99b03fbe54c4085dd5 (patch) | |
tree | e1787cf0b391aaad6c8e5a9ba79acf0bfc6007a9 /lisp/calendar/cal-dst.el | |
parent | 42a835e53ca8748f2c874e9103694136d93c448d (diff) | |
download | emacs-e6fa807c5ae9f8c5aecc7b99b03fbe54c4085dd5.tar.gz |
(calendar-time-zone-daylight-rules): Reset
new-rules after each round.
Diffstat (limited to 'lisp/calendar/cal-dst.el')
-rw-r--r-- | lisp/calendar/cal-dst.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/calendar/cal-dst.el b/lisp/calendar/cal-dst.el index 57aa87c3a80..cceb39e342d 100644 --- a/lisp/calendar/cal-dst.el +++ b/lisp/calendar/cal-dst.el @@ -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 |