From dcb44ccbed5ec7b9df892eacec55f4e5c6d14ff2 Mon Sep 17 00:00:00 2001 From: Daniel Colascione Date: Mon, 26 Feb 2018 08:57:01 -0800 Subject: [PATCH] Fix MS-Windows build --- src/emacs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (); -- 2.39.5