From 520fd3e728d46702a04f6a19f23ed64a66900d51 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 29 Apr 2020 14:06:35 +0300 Subject: [PATCH] * lisp/env.el (substitute-env-vars): Doc fix. (Bug#40948) --- lisp/env.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 the entire variable name in braces. For instance, in `ab$cd-x', `$cd' is treated as an environment variable. -If WHEN-DEFINED is nil, references to undefined environment variables +If WHEN-UNDEFINED is nil, references to undefined environment variables are replaced by the empty string; if it is a function, the function is called with the variable name as argument and should return the text with which to replace it or nil to leave it unchanged. -- 2.39.2