Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
99181:1da73cbe8b82 | 99182:c1511154e8c2 |
---|---|
6841 #endif /* CANNOT_DUMP */ | 6841 #endif /* CANNOT_DUMP */ |
6842 signal (SIGWINCH, window_change_signal); | 6842 signal (SIGWINCH, window_change_signal); |
6843 #endif /* SIGWINCH */ | 6843 #endif /* SIGWINCH */ |
6844 | 6844 |
6845 /* If running as a daemon, no need to initialize any frames/terminal. */ | 6845 /* If running as a daemon, no need to initialize any frames/terminal. */ |
6846 if (is_daemon) | 6846 if (IS_DAEMON) |
6847 return; | 6847 return; |
6848 | 6848 |
6849 /* If the user wants to use a window system, we shouldn't bother | 6849 /* If the user wants to use a window system, we shouldn't bother |
6850 initializing the terminal. This is especially important when the | 6850 initializing the terminal. This is especially important when the |
6851 terminal is so dumb that emacs gives up before and doesn't bother | 6851 terminal is so dumb that emacs gives up before and doesn't bother |
6852 using the window system. | 6852 using the window system. |