Commit 0e956009 authored by Jim Blandy's avatar Jim Blandy

* callproc.c (init_callproc): Move the initialization of

	Vprocess_environment to its own function.
	(set_process_environment): This is that.
	* emacs.c (main): Call set_process_environment earlier than
	init_callproc.
parent f0250249
......@@ -426,6 +426,12 @@ main (argc, argv, envp)
init_alloc ();
init_eval ();
init_data ();
/* egetenv is a pretty low-level facility, which may get called in
many circumstances; it seems flimsy to put off initializing it
until calling init_callproc. */
set_process_environment ();
init_lread ();
init_cmdargs (argc, argv, skip_args); /* Create list Vcommand_line_args */
......
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