Mercurial > emacs
comparison src/emacs.c @ 108603:135d8ad190d8
* emacs.c (main): Initialize initial-environment and process-environment
before generating from env, not after.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Sat, 15 May 2010 17:16:20 -0400 |
parents | 786c4a4a3817 |
children | c2ac5cece5ea |
comparison
equal
deleted
inserted
replaced
108602:ed8614d73caa | 108603:135d8ad190d8 |
---|---|
1541 if (initialized) | 1541 if (initialized) |
1542 #endif | 1542 #endif |
1543 ns_init_paths (); | 1543 ns_init_paths (); |
1544 #endif | 1544 #endif |
1545 | 1545 |
1546 /* Initialize and GC-protect Vinitial_environment and | |
1547 Vprocess_environment before set_initial_environment fills them | |
1548 in. */ | |
1549 if (!initialized) | |
1550 syms_of_callproc (); | |
1546 /* egetenv is a pretty low-level facility, which may get called in | 1551 /* egetenv is a pretty low-level facility, which may get called in |
1547 many circumstances; it seems flimsy to put off initializing it | 1552 many circumstances; it seems flimsy to put off initializing it |
1548 until calling init_callproc. */ | 1553 until calling init_callproc. */ |
1549 set_initial_environment (); | 1554 set_initial_environment (); |
1550 /* AIX crashes are reported in system versions 3.2.3 and 3.2.4 | 1555 /* AIX crashes are reported in system versions 3.2.3 and 3.2.4 |
1590 syms_of_buffer (); | 1595 syms_of_buffer (); |
1591 syms_of_bytecode (); | 1596 syms_of_bytecode (); |
1592 syms_of_callint (); | 1597 syms_of_callint (); |
1593 syms_of_casefiddle (); | 1598 syms_of_casefiddle (); |
1594 syms_of_casetab (); | 1599 syms_of_casetab (); |
1595 syms_of_callproc (); | |
1596 syms_of_category (); | 1600 syms_of_category (); |
1597 syms_of_ccl (); | 1601 syms_of_ccl (); |
1598 syms_of_character (); | 1602 syms_of_character (); |
1599 syms_of_cmds (); | 1603 syms_of_cmds (); |
1600 syms_of_dired (); | 1604 syms_of_dired (); |