From: Richard M. Stallman Date: Sun, 27 Apr 1997 18:19:42 +0000 (+0000) Subject: (Fsubstitute_in_file_name): Use xnm uniformly, never nm, X-Git-Tag: emacs-20.1~2365 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ac5b7072163d90f3006cdc35bc96c5b0fe55b306;p=emacs.git (Fsubstitute_in_file_name): Use xnm uniformly, never nm, when handling /~ and // at the end. --- 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.") || 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] == ':'