diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2003-05-06 17:54:41 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2003-05-06 17:54:41 +0000 |
commit | b71038b25c16c81c7570fe2ccaaaba0568c1a8b3 (patch) | |
tree | d0b476b889c50c29feb3e467be763e215f85d3b3 /lisp/env.el | |
parent | 41bbbdce51c5c27b1e332b248c3afaf8a055e83b (diff) | |
download | emacs-b71038b25c16c81c7570fe2ccaaaba0568c1a8b3.tar.gz |
(setenv): Don't quote nil and t in docstrings.
Diffstat (limited to 'lisp/env.el')
-rw-r--r-- | lisp/env.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/env.el b/lisp/env.el index 3fde25f5246..eae724d148d 100644 --- a/lisp/env.el +++ b/lisp/env.el @@ -89,8 +89,8 @@ dollar sign." (defun setenv (variable &optional value unset substitute-env-vars) "Set the value of the environment variable named VARIABLE to VALUE. -VARIABLE should be a string. VALUE is optional; if not provided or is -`nil', the environment variable VARIABLE will be removed. UNSET +VARIABLE should be a string. VALUE is optional; if not provided or +nil, the environment variable VARIABLE will be removed. UNSET if non-nil means to remove VARIABLE from the environment. SUBSTITUTE-ENV-VARS, if non-nil, means to substitute environment variables in VALUE with `substitute-env-vars', where see. @@ -126,7 +126,7 @@ a side-effect." (memq (coding-system-base locale-coding-system) codings)) (error "Can't encode `%s=%s' with `locale-coding-system'" variable (or value ""))))) - (if unset + (if unset (setq value nil) (if substitute-env-vars (setq value (substitute-env-vars value)))) |