diff options
| author | Richard M. Stallman | 1995-09-10 04:36:12 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-09-10 04:36:12 +0000 |
| commit | 7fd817093fbbd746129e4d4db00779e64347d6ef (patch) | |
| tree | 174ae3c1a104703f0942011107b7b94f9749e68c | |
| parent | cdadf745b2c6ccb589c8b6232e8154a720f83ad1 (diff) | |
| download | emacs-7fd817093fbbd746129e4d4db00779e64347d6ef.tar.gz emacs-7fd817093fbbd746129e4d4db00779e64347d6ef.zip | |
(setenv): Call set-time-zone-rule when setting TZ.
| -rw-r--r-- | lisp/env.el | 2 |
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'." | |||
| 92 | (case-fold-search nil) | 92 | (case-fold-search nil) |
| 93 | (scan process-environment) | 93 | (scan process-environment) |
| 94 | found) | 94 | found) |
| 95 | (if (string-equal "TZ" variable) | ||
| 96 | (set-time-zone-rule value)) | ||
| 95 | (while scan | 97 | (while scan |
| 96 | (cond ((string-match pattern (car scan)) | 98 | (cond ((string-match pattern (car scan)) |
| 97 | (setq found t) | 99 | (setq found t) |