Commit 7fd81709 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(setenv): Call set-time-zone-rule when setting TZ.

parent cdadf745
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment