From: Daniel Colascione Date: Mon, 26 Feb 2018 16:57:01 +0000 (-0800) Subject: Fix MS-Windows build X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dcb44ccbed5ec7b9df892eacec55f4e5c6d14ff2;p=emacs.git Fix MS-Windows build --- diff --git a/src/emacs.c b/src/emacs.c index 0ed3f905bbe..a9db0a32f0d 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1846,7 +1846,7 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem init_keyboard (); /* This too must precede init_sys_modes. */ init_display (); /* Determine terminal type. Calls init_sys_modes. */ #if HAVE_W32NOTIFY - else + if (noninteractive) init_crit (); /* w32notify.c needs this in batch mode. */ #endif /* HAVE_W32NOTIFY */ init_xdisp ();