# HG changeset patch # User Juanma Barranquero # Date 1052243681 0 # Node ID 562c854aa19033d98a3ffb44b12ed176c4511173 # Parent ba2845537409c6810e74d2fbbc5135ef06bea551 (setenv): Don't quote nil and t in docstrings. diff -r ba2845537409 -r 562c854aa190 lisp/env.el --- a/lisp/env.el Tue May 06 17:54:12 2003 +0000 +++ b/lisp/env.el Tue May 06 17:54:41 2003 +0000 @@ -89,8 +89,8 @@ (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 @@ (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))))