From 5c36b4126533764bb8b90413f274d766e1a6f0d6 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 4 Feb 2025 16:06:36 +0200 Subject: [PATCH] * src/fileio.c (Fsubstitute_in_file_name): Doc fix (bug#76023). --- src/fileio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- 2.30.2