Mercurial > emacs
diff src/fileio.c @ 17580:331ce9fbf08b
(Fsubstitute_in_file_name): Use xnm uniformly, never nm,
when handling /~ and // at the end.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sun, 27 Apr 1997 18:19:42 +0000 |
| parents | 648beff801bb |
| children | 6a190274d2e7 |
line wrap: on
line diff
--- a/src/fileio.c Sun Apr 27 18:02:16 1997 +0000 +++ b/src/fileio.c Sun Apr 27 18:19:42 1997 +0000 @@ -1922,7 +1922,7 @@ || 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] == ':'
