aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2020-04-29 14:06:35 +0300
committerEli Zaretskii2020-04-29 14:06:35 +0300
commit520fd3e728d46702a04f6a19f23ed64a66900d51 (patch)
treedcc1bf5bffe22d6c94d5d8bd7168bd8d5d6c5176
parent85544f8ef5dafee4425d011dc2067c3bca1305a6 (diff)
downloademacs-520fd3e728d46702a04f6a19f23ed64a66900d51.tar.gz
emacs-520fd3e728d46702a04f6a19f23ed64a66900d51.zip
* lisp/env.el (substitute-env-vars): Doc fix. (Bug#40948)
-rw-r--r--lisp/env.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/env.el b/lisp/env.el
index ca2a9773b4e..c2cf0888eb7 100644
--- a/lisp/env.el
+++ b/lisp/env.el
@@ -68,7 +68,7 @@ with a character not a letter, digit or underscore; otherwise, enclose
68the entire variable name in braces. For instance, in `ab$cd-x', 68the entire variable name in braces. For instance, in `ab$cd-x',
69`$cd' is treated as an environment variable. 69`$cd' is treated as an environment variable.
70 70
71If WHEN-DEFINED is nil, references to undefined environment variables 71If WHEN-UNDEFINED is nil, references to undefined environment variables
72are replaced by the empty string; if it is a function, the function is called 72are replaced by the empty string; if it is a function, the function is called
73with the variable name as argument and should return the text with which 73with the variable name as argument and should return the text with which
74to replace it or nil to leave it unchanged. 74to replace it or nil to leave it unchanged.