diff src/emacs.c @ 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 3b27d2451f83
children b1766995a504
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