summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-04-26 19:53:04 +0000
committerRichard M. Stallman <rms@gnu.org>1996-04-26 19:53:04 +0000
commit127677780ef746e562e31796d4b2683d6a9819c9 (patch)
treee5e6b8b8f29ebe4128be40a24d27558b0d6602c8 /src/emacs.c
parentcb967a7e9693b135b054c70563c0b5f3b745e088 (diff)
downloademacs-127677780ef746e562e31796d4b2683d6a9819c9.tar.gz
(main) [WINDOWSNT]: Invoke init_ntproc.
(shut_down_emacs) [WINDOWSNT]: Invoke term_ntproc.
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 5a603e3d139..e9f8439393d 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -796,6 +796,7 @@ Usage: %s [-t term] [--terminal term] [-nw] [--no-windows] [--batch]\n\
#ifdef WINDOWSNT
/* Initialize environment from registry settings. */
init_environment ();
+ init_ntproc (); /* must precede init_editfns */
#endif
/* egetenv is a pretty low-level facility, which may get called in
@@ -1313,6 +1314,10 @@ shut_down_emacs (sig, no_x, stuff)
unrequest_sigio ();
signal (SIGIO, SIG_IGN);
#endif
+
+#ifdef WINDOWSNT
+ term_ntproc ();
+#endif
}