Mercurial > emacs
changeset 1917:2ed00cbd9e53
* 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.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Mon, 22 Feb 1993 14:40:34 +0000 |
parents | e21c1f3e37cb |
children | 699ae3079c09 |
files | src/emacs.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/emacs.c Mon Feb 22 14:38:43 1993 +0000 +++ b/src/emacs.c Mon Feb 22 14:40:34 1993 +0000 @@ -426,6 +426,12 @@ 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 */