diff options
| author | Jim Blandy | 1993-02-22 14:40:34 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-02-22 14:40:34 +0000 |
| commit | 0e95600962330eb5103ccdae94211f800346e1e2 (patch) | |
| tree | a45dcd92e2b862b5094d441ccbd058aa0fcc3d15 /src | |
| parent | f0250249f98c192849c21106e5e94ba8870f8ca7 (diff) | |
| download | emacs-0e95600962330eb5103ccdae94211f800346e1e2.tar.gz emacs-0e95600962330eb5103ccdae94211f800346e1e2.zip | |
* 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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c index 9209e4f7d6b..4dcdbc328e4 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -426,6 +426,12 @@ main (argc, argv, envp) | |||
| 426 | init_alloc (); | 426 | init_alloc (); |
| 427 | init_eval (); | 427 | init_eval (); |
| 428 | init_data (); | 428 | init_data (); |
| 429 | |||
| 430 | /* egetenv is a pretty low-level facility, which may get called in | ||
| 431 | many circumstances; it seems flimsy to put off initializing it | ||
| 432 | until calling init_callproc. */ | ||
| 433 | set_process_environment (); | ||
| 434 | |||
| 429 | init_lread (); | 435 | init_lread (); |
| 430 | 436 | ||
| 431 | init_cmdargs (argc, argv, skip_args); /* Create list Vcommand_line_args */ | 437 | init_cmdargs (argc, argv, skip_args); /* Create list Vcommand_line_args */ |