Commit ac5b7072 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fsubstitute_in_file_name): Use xnm uniformly, never nm,

when handling /~ and // at the end.
parent 77110caa
......@@ -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] == ':'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment