diff src/dispnew.c @ 99182:c1511154e8c2

* emacs.c (daemon_pipe): Make non-static. (IS_DAEMON): Move definition ... * lisp.h (IS_DAEMON): ... here. (daemon_pipe): Declare. (is_daemon): Remove. * dispnew.c (init_display): Use IS_DAEMON.
author Dan Nicolaescu <dann@ics.uci.edu>
date Tue, 28 Oct 2008 04:25:11 +0000
parents b4502c55e86b
children e038c1a8307c
line wrap: on
line diff
--- a/src/dispnew.c	Tue Oct 28 02:57:25 2008 +0000
+++ b/src/dispnew.c	Tue Oct 28 04:25:11 2008 +0000
@@ -6843,8 +6843,8 @@
 #endif /* SIGWINCH */
 
   /* If running as a daemon, no need to initialize any frames/terminal. */
-  if (is_daemon)
-    return;
+  if (IS_DAEMON)
+      return;
 
   /* If the user wants to use a window system, we shouldn't bother
      initializing the terminal.  This is especially important when the