1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-24 19:03:29 +00:00

(setenv): Don't quote nil and t in docstrings.

This commit is contained in:
Juanma Barranquero 2003-05-06 17:54:41 +00:00
parent 41bbbdce51
commit b71038b25c

View File

@ -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))))