Commit 260ec24d authored by Richard M. Stallman's avatar Richard M. Stallman

(init_cmdargs): After chasing link, use only the expanded name.

(init_cmdargs): When setting dir, expand the dir name.
parent d26859eb
...@@ -261,7 +261,7 @@ init_cmdargs (argc, argv, skip_args) ...@@ -261,7 +261,7 @@ init_cmdargs (argc, argv, skip_args)
tem = Ffile_symlink_p (name); tem = Ffile_symlink_p (name);
if (!NILP (tem)) if (!NILP (tem))
{ {
name = tem; name = Fexpand_file_name (tem, dir);
dir = Ffile_name_directory (name); dir = Ffile_name_directory (name);
} }
else else
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