aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
authorJoakim Verona2011-08-09 09:20:14 +0200
committerJoakim Verona2011-08-09 09:20:14 +0200
commit1e26d437b871eb5aacaf18a85fba928ef8ea25be (patch)
tree53d06e7a5bca07e155475c55ebbd9f48d2847efc /src/editfns.c
parent301cce3b507f4d56b3182c15b5d741582c991e4c (diff)
parent839dde57161c56f03ec4fbcba9e1b26d0924b8fd (diff)
downloademacs-1e26d437b871eb5aacaf18a85fba928ef8ea25be.tar.gz
emacs-1e26d437b871eb5aacaf18a85fba928ef8ea25be.zip
merge upstream.
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 5eed386afb7..297f7b6d7e4 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -2053,7 +2053,12 @@ static char *initial_tz;
2053DEFUN ("set-time-zone-rule", Fset_time_zone_rule, Sset_time_zone_rule, 1, 1, 0, 2053DEFUN ("set-time-zone-rule", Fset_time_zone_rule, Sset_time_zone_rule, 1, 1, 0,
2054 doc: /* Set the local time zone using TZ, a string specifying a time zone rule. 2054 doc: /* Set the local time zone using TZ, a string specifying a time zone rule.
2055If TZ is nil, use implementation-defined default time zone information. 2055If TZ is nil, use implementation-defined default time zone information.
2056If TZ is t, use Universal Time. */) 2056If TZ is t, use Universal Time.
2057
2058Instead of calling this function, you typically want (setenv "TZ" TZ).
2059That changes both the environment of the Emacs process and the
2060variable `process-environment', whereas `set-time-zone-rule' affects
2061only the former. */)
2057 (Lisp_Object tz) 2062 (Lisp_Object tz)
2058{ 2063{
2059 const char *tzstring; 2064 const char *tzstring;