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-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~60 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5c36b4126533764bb8b90413f274d766e1a6f0d6;p=emacs.git * src/fileio.c (Fsubstitute_in_file_name): Doc fix (bug#76023). --- diff --git a/src/fileio.c b/src/fileio.c index e522dd93cd6..7042dbca258 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;