aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2004-04-10 21:06:31 +0000
committerJason Rumney2004-04-10 21:06:31 +0000
commit1e3c9713ef60eac45a3b8aa3eb0b3c37a106e16a (patch)
tree0c4bf292730d55e8d011e0a51537a30a375c1e19
parent99a72bdf2392844d9483ca6446b795effd8aadfb (diff)
downloademacs-1e3c9713ef60eac45a3b8aa3eb0b3c37a106e16a.tar.gz
emacs-1e3c9713ef60eac45a3b8aa3eb0b3c37a106e16a.zip
(WinMain): Let emacs environment default to parent.
-rw-r--r--nt/ChangeLog4
-rw-r--r--nt/runemacs.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 829bc868a99..0ad5e7b458f 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,7 @@
12004-04-10 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
2
3 * runemacs.c (WinMain): Let emacs environment default to parent.
4
12004-03-11 Jason Rumney <jasonr@gnu.org> 52004-03-11 Jason Rumney <jasonr@gnu.org>
2 6
3 * paths.h: Remove PATH_LOCK, add PATH_BITMAPS. 7 * paths.h: Remove PATH_LOCK, add PATH_BITMAPS.
diff --git a/nt/runemacs.c b/nt/runemacs.c
index cdd46a6008d..afa5340ef53 100644
--- a/nt/runemacs.c
+++ b/nt/runemacs.c
@@ -126,7 +126,7 @@ WinMain (HINSTANCE hSelf, HINSTANCE hPrev, LPSTR cmdline, int nShow)
126 sec_attrs.bInheritHandle = FALSE; 126 sec_attrs.bInheritHandle = FALSE;
127 127
128 if (CreateProcess (NULL, new_cmdline, &sec_attrs, NULL, TRUE, priority_class, 128 if (CreateProcess (NULL, new_cmdline, &sec_attrs, NULL, TRUE, priority_class,
129 GetEnvironmentStrings (), NULL, &start, &child)) 129 NULL, NULL, &start, &child))
130 { 130 {
131 if (wait_for_child) 131 if (wait_for_child)
132 { 132 {