summaryrefslogtreecommitdiff
path: root/lisp/env.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-09-10 04:36:12 +0000
committerRichard M. Stallman <rms@gnu.org>1995-09-10 04:36:12 +0000
commit7fd817093fbbd746129e4d4db00779e64347d6ef (patch)
tree174ae3c1a104703f0942011107b7b94f9749e68c /lisp/env.el
parentcdadf745b2c6ccb589c8b6232e8154a720f83ad1 (diff)
downloademacs-7fd817093fbbd746129e4d4db00779e64347d6ef.tar.gz
(setenv): Call set-time-zone-rule when setting TZ.
Diffstat (limited to 'lisp/env.el')
-rw-r--r--lisp/env.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/env.el b/lisp/env.el
index 6a01a690d40..e78bbb314d9 100644
--- a/lisp/env.el
+++ b/lisp/env.el
@@ -92,6 +92,8 @@ This function works by modifying `process-environment'."
(case-fold-search nil)
(scan process-environment)
found)
+ (if (string-equal "TZ" variable)
+ (set-time-zone-rule value))
(while scan
(cond ((string-match pattern (car scan))
(setq found t)