aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-06-13 14:14:32 +0200
committerLars Ingebrigtsen2021-06-13 14:14:32 +0200
commitc4fcf2fc6fbdddb1da2ec1166bf95bfb72baff1a (patch)
tree43ac5db5cce0514408445ac7e025b8591042c113 /src
parent407062c296677f8d370706c8a620d2526a83df97 (diff)
downloademacs-c4fcf2fc6fbdddb1da2ec1166bf95bfb72baff1a.tar.gz
emacs-c4fcf2fc6fbdddb1da2ec1166bf95bfb72baff1a.zip
Fsubstitute_in_file_name doc string clarification
* src/fileio.c (Fsubstitute_in_file_name): Mention that undefined variables aren't replaced (as opposed to what happens in a shell substitution) (bug#40949).
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index caf077e2fbf..1d9a3e16444 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -1830,6 +1830,8 @@ the value of that variable. The variable name should be terminated
1830with a character not a letter, digit or underscore; otherwise, enclose 1830with a character not a letter, digit or underscore; otherwise, enclose
1831the entire variable name in braces. 1831the entire variable name in braces.
1832 1832
1833If FOO is not defined in the environment, it is not substituted.
1834
1833If `/~' appears, all of FILENAME through that `/' is discarded. 1835If `/~' appears, all of FILENAME through that `/' is discarded.
1834If `//' appears, everything up to and including the first of 1836If `//' appears, everything up to and including the first of
1835those `/' is discarded. */) 1837those `/' is discarded. */)