]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fsubstitute_in_file_name): Use xnm uniformly, never nm,
authorRichard M. Stallman <rms@gnu.org>
Sun, 27 Apr 1997 18:19:42 +0000 (18:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 27 Apr 1997 18:19:42 +0000 (18:19 +0000)
when handling /~ and // at the end.

src/fileio.c

index 9bb1a10f229b16290d630adb7292ae6883d07b41..a05dbd5f22194859164f810875196a96a7de1fb0 100644 (file)
@@ -1922,7 +1922,7 @@ duplicates what `expand-file-name' does.")
         || IS_DIRECTORY_SEP (p[0])
 #endif /* not (APOLLO || WINDOWSNT) */
         )
-       && p != nm && IS_DIRECTORY_SEP (p[-1]))
+       && p != xnm && IS_DIRECTORY_SEP (p[-1]))
       xnm = p;
 #ifdef DOS_NT
     else if (IS_DRIVE (p[0]) && p[1] == ':'