Root/emacs/patches/010-fix-init-env.patch

1Index: emacs/src/emacs.c
2===================================================================
3--- emacs.orig/src/emacs.c 2010-12-18 20:37:40.000000000 +0100
4+++ emacs/src/emacs.c 2010-12-18 20:37:40.000000000 +0100
5@@ -1735,6 +1735,10 @@
6 #endif /* HAVE_NTGUI */
7     }
8 
9+ /* syms_of_callproc() resets process-environment to nil; generating it again
10+ * here, as workaround (probably only hits us since we're not dumping */
11+ set_initial_environment();
12+
13   init_charset ();
14 
15   init_editfns (); /* init_process uses Voperating_system_release. */
16

Archive Download this file



interactive