From: Richard M. Stallman Date: Mon, 5 Sep 1994 04:06:23 +0000 (+0000) Subject: (init_cmdargs): After chasing link, use only the expanded name. X-Git-Tag: emacs-19.34~7150 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=260ec24d2952fc021aba510c1ed6229175676438;p=emacs.git (init_cmdargs): After chasing link, use only the expanded name. (init_cmdargs): When setting dir, expand the dir name. --- diff --git a/src/emacs.c b/src/emacs.c index b93d9212ad5..1bfcac5c946 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -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