]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix MS-Windows build
authorDaniel Colascione <dancol@dancol.org>
Mon, 26 Feb 2018 16:57:01 +0000 (08:57 -0800)
committerDaniel Colascione <dancol@dancol.org>
Mon, 26 Feb 2018 16:57:01 +0000 (08:57 -0800)
src/emacs.c

index 0ed3f905bbef3724695fa869bb6b3ad866d196dc..a9db0a32f0dbbecccc0ac50054cba5f760dbc654 100644 (file)
@@ -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 ();