* src/fileio.c (Fsubstitute_in_file_name): Doc fix (bug#76023).
authorEli Zaretskii <eliz@gnu.org>
Tue, 4 Feb 2025 14:06:36 +0000 (16:06 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 4 Feb 2025 14:06:36 +0000 (16:06 +0200)
src/fileio.c

index e522dd93cd6a5dcb60971422a416a16529987998..7042dbca25840c58532977899210cec894dbed9f 100644 (file)
@@ -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;