* lisp/calc/calc-forms.el (calendar-current-time-zone-cache):
Remove defvar.
(math-get-calendar-tzinfo): Simplify and do not reach
into caldst’s cache.
(defvar var-TimeZone nil)
-;; From cal-dst
-(defvar calendar-current-time-zone-cache)
-
(defvar math-calendar-tzinfo
nil
"Information about the timezone, retrieved from the calendar.")
(if math-calendar-tzinfo
math-calendar-tzinfo
(require 'cal-dst)
- (let ((tzinfo (progn
- (calendar-current-time-zone)
- calendar-current-time-zone-cache)))
+ (let ((tzinfo (calendar-current-time-zone)))
(setq math-calendar-tzinfo
(list (* 60 (- (nth 0 tzinfo)))
(* 60 (nth 1 tzinfo)))))))