emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/raeburn-startup 272c874 23/43: Fix startup on MS-W


From: Ken Raeburn
Subject: [Emacs-diffs] scratch/raeburn-startup 272c874 23/43: Fix startup on MS-Windows
Date: Mon, 31 Jul 2017 02:11:02 -0400 (EDT)

branch: scratch/raeburn-startup
commit 272c87483efb351b835bc097bd2e69797ba69c8c
Author: Eli Zaretskii <address@hidden>
Commit: Ken Raeburn <address@hidden>

    Fix startup on MS-Windows
    
    * emacs.c (main) [HAVE_NTGUI]: Call globals_of_w32* functions
    unconditionally.
---
 src/emacs.c | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/src/emacs.c b/src/emacs.c
index b7c0b47..4b64a69 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1610,20 +1610,17 @@ Using an Emacs configured with --with-x-toolkit=lucid 
does not have this problem
       keys_of_keymap ();
       keys_of_window ();
     }
-  else
-    {
-      /* Initialization that must be done even if the global variable
-        initialized is non zero.  */
+  /* Initialization that must be done even if the global variable
+     initialized is non zero.  */
 #ifdef HAVE_NTGUI
-      globals_of_w32font ();
-      globals_of_w32fns ();
-      globals_of_w32menu ();
+  globals_of_w32font ();
+  globals_of_w32fns ();
+  globals_of_w32menu ();
 #endif  /* HAVE_NTGUI */
 
 #if defined WINDOWSNT || defined HAVE_NTGUI
-      globals_of_w32select ();
+  globals_of_w32select ();
 #endif
-    }
 
   init_charset ();
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]