1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-30 11:09:23 +00:00

(init_display): Return earlier when running as a

daemon.
This commit is contained in:
Dan Nicolaescu 2008-09-28 01:58:26 +00:00
parent d275f05d1b
commit d6ef42b908
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2008-09-28 Dan Nicolaescu <dann@ics.uci.edu>
* dispnew.c (init_display): Return earlier when running as a
daemon.
2008-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
* nsfont.m (nsfont_draw): Fix up composition rendering (cmp_from,

View File

@ -6824,6 +6824,10 @@ init_display ()
signal (SIGWINCH, window_change_signal);
#endif /* SIGWINCH */
/* If running as a daemon, no need to initialize any frames/terminal. */
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
terminal is so dumb that emacs gives up before and doesn't bother
@ -6892,10 +6896,6 @@ init_display ()
}
#endif
/* If running as a daemon, no need to initialize any frames/terminal. */
if (is_daemon)
return;
/* If no window system has been specified, try to use the terminal. */
if (! isatty (0))
{