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:
parent
d275f05d1b
commit
d6ef42b908
@ -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,
|
||||
|
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user