From: Eli Zaretskii Date: Wed, 29 Apr 2020 11:15:03 +0000 (+0300) Subject: ; Fix last change X-Git-Tag: emacs-27.1-rc1~171 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2f9bfaef21;p=emacs.git ; Fix last change --- diff --git a/lisp/env.el b/lisp/env.el index c2cf0888eb7..6de90385a35 100644 --- a/lisp/env.el +++ b/lisp/env.el @@ -68,10 +68,10 @@ 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-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. +If WHEN-UNDEFINED is omitted or nil, references to undefined environment +variables are replaced by the empty string; if it is a function, the +function is called with the variable's name as argument, and should return +the text with which to replace it, or nil to leave it unchanged. If it is non-nil and not a function, references to undefined variables are left unchanged.