]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Feb 2025 08:31:00 +0000 (09:31 +0100)
(cherry picked from commit 5c36b4126533764bb8b90413f274d766e1a6f0d6)

src/fileio.c

index 1832a4c7759fc4dd578f8e96bec7d1cfc0ee6c25..cdf57618af167f96f116e7a9b2b8f31857fd2a74 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;