# HG changeset patch # User Richard M. Stallman # Date 778737983 0 # Node ID ec7ec0e35e5e3664d02ecceadc09b2c0cafa3152 # Parent aaa0730f8b1ef3b4dedeac5e2fee7d0bde5c7610 (init_cmdargs): After chasing link, use only the expanded name. (init_cmdargs): When setting dir, expand the dir name. diff -r aaa0730f8b1e -r ec7ec0e35e5e src/emacs.c --- a/src/emacs.c Mon Sep 05 01:12:25 1994 +0000 +++ b/src/emacs.c Mon Sep 05 04:06:23 1994 +0000 @@ -261,7 +261,7 @@ tem = Ffile_symlink_p (name); if (!NILP (tem)) { - name = tem; + name = Fexpand_file_name (tem, dir); dir = Ffile_name_directory (name); } else