changeset 8704:ec7ec0e35e5e

(init_cmdargs): After chasing link, use only the expanded name. (init_cmdargs): When setting dir, expand the dir name.
author Richard M. Stallman <rms@gnu.org>
date Mon, 05 Sep 1994 04:06:23 +0000
parents aaa0730f8b1e
children addaa3f01955
files src/emacs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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