From: Eli Zaretskii Date: Tue, 4 Feb 2025 14:06:36 +0000 (+0200) Subject: * src/fileio.c (Fsubstitute_in_file_name): Doc fix (bug#76023). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4efbd0fdd3d8f82f56d6feeeb10b0433d0564023;p=emacs.git * src/fileio.c (Fsubstitute_in_file_name): Doc fix (bug#76023). (cherry picked from commit 5c36b4126533764bb8b90413f274d766e1a6f0d6) --- diff --git a/src/fileio.c b/src/fileio.c index 1832a4c7759..cdf57618af1 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2050,7 +2050,9 @@ the value of this function. If `/~' appears, all of FILENAME through that `/' is discarded. If `//' appears, everything up to and including the first of -those `/' is discarded. */) +those `/' is discarded. More generally, if a variable substitution +produces an absolute file name, everything before that file name +is discarded. */) (Lisp_Object filename) { char *nm, *p, *x, *endp;