]> git.eshelyaron.com Git - emacs.git/commitdiff
(init_cmdargs): After chasing link, use only the expanded name.
authorRichard M. Stallman <rms@gnu.org>
Mon, 5 Sep 1994 04:06:23 +0000 (04:06 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 5 Sep 1994 04:06:23 +0000 (04:06 +0000)
(init_cmdargs): When setting dir, expand the dir name.

src/emacs.c

index b93d9212ad5b51c9c69760a5083ed7a3206bc8f9..1bfcac5c9466e574b9f564eea5124b00549051c2 100644 (file)
@@ -261,7 +261,7 @@ init_cmdargs (argc, argv, skip_args)
          tem = Ffile_symlink_p (name);
          if (!NILP (tem))
            {
-             name = tem;
+             name = Fexpand_file_name (tem, dir);
              dir = Ffile_name_directory (name);
            }
          else