From: Juanma Barranquero Date: Tue, 6 May 2003 17:54:41 +0000 (+0000) Subject: (setenv): Don't quote nil and t in docstrings. X-Git-Tag: ttn-vms-21-2-B4~10269 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b71038b25c16c81c7570fe2ccaaaba0568c1a8b3;p=emacs.git (setenv): Don't quote nil and t in docstrings. --- 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))))