emacs-diffs
[Top][All Lists]
Advanced

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

feature/pgtk bc53310 1/4: * src/emacs.c (main): Combine two conditions t


From: Yuuki Harano
Subject: feature/pgtk bc53310 1/4: * src/emacs.c (main): Combine two conditions to one
Date: Tue, 23 Nov 2021 09:11:56 -0500 (EST)

branch: feature/pgtk
commit bc53310aaf1a2b71c1476ae1fffb1b137fb8d617
Author: Yuuki Harano <masm+github@masm11.me>
Commit: Yuuki Harano <masm+github@masm11.me>

    * src/emacs.c (main): Combine two conditions to one
---
 src/emacs.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/emacs.c b/src/emacs.c
index 790740d..adac8fc 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -2287,11 +2287,9 @@ Using an Emacs configured with --with-x-toolkit=lucid 
does not have this problem
 #ifdef HAVE_DBUS
   init_dbusbind ();
 #endif
-#ifdef USE_GTK
-#ifndef HAVE_PGTK
+#if defined(USE_GTK) && !defined(HAVE_PGTK)
   init_xterm ();
 #endif
-#endif
 
   /* This can create a thread that may call getenv, so it must follow
      all calls to putenv and setenv.  Also, this sets up



reply via email to

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