aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1997-04-27 18:19:42 +0000
committerRichard M. Stallman1997-04-27 18:19:42 +0000
commitac5b7072163d90f3006cdc35bc96c5b0fe55b306 (patch)
treebce2d898208e198acb65c2bf3b4059100536ff89 /src
parent77110caaed3cbd989330ce8505dd47b9c8e48308 (diff)
downloademacs-ac5b7072163d90f3006cdc35bc96c5b0fe55b306.tar.gz
emacs-ac5b7072163d90f3006cdc35bc96c5b0fe55b306.zip
(Fsubstitute_in_file_name): Use xnm uniformly, never nm,
when handling /~ and // at the end.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 9bb1a10f229..a05dbd5f221 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -1922,7 +1922,7 @@ duplicates what `expand-file-name' does.")
1922 || IS_DIRECTORY_SEP (p[0]) 1922 || IS_DIRECTORY_SEP (p[0])
1923#endif /* not (APOLLO || WINDOWSNT) */ 1923#endif /* not (APOLLO || WINDOWSNT) */
1924 ) 1924 )
1925 && p != nm && IS_DIRECTORY_SEP (p[-1])) 1925 && p != xnm && IS_DIRECTORY_SEP (p[-1]))
1926 xnm = p; 1926 xnm = p;
1927#ifdef DOS_NT 1927#ifdef DOS_NT
1928 else if (IS_DRIVE (p[0]) && p[1] == ':' 1928 else if (IS_DRIVE (p[0]) && p[1] == ':'