From 260ec24d2952fc021aba510c1ed6229175676438 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 5 Sep 1994 04:06:23 +0000 Subject: [PATCH] (init_cmdargs): After chasing link, use only the expanded name. (init_cmdargs): When setting dir, expand the dir name. --- src/emacs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5