Commit 4133b300 authored by Richard M. Stallman's avatar Richard M. Stallman

(init_cmdargs): Make Vinvocation_directory

absolute if it isn't already.
parent 74514898
......@@ -218,6 +218,11 @@ init_cmdargs (argc, argv, skip_args)
Vinvocation_directory = Ffile_name_directory (found);
}
if (!NILP (Vinvocation_directory)
&& NILP (Ffile_name_absolute_p (Vinvocation_directory)))
/* Emacs was started with relative path, like ./emacs */
Vinvocation_directory = Fexpand_file_name (Vinvocation_directory, Qnil);
Vinstallation_directory = Qnil;
if (!NILP (Vinvocation_directory))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment