mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-02 08:22:22 +00:00
* xterm.c (x_connection_closed): Kill Emacs unconditionally.
This commit is contained in:
parent
a03c234213
commit
23c261f58f
@ -1,3 +1,7 @@
|
||||
2010-10-24 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* xterm.c (x_connection_closed): Kill Emacs unconditionally.
|
||||
|
||||
2010-10-22 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* frame.c (Fframep, Fwindow_system): Deprecate use as a predicate.
|
||||
|
15
src/xterm.c
15
src/xterm.c
@ -7911,15 +7911,12 @@ x_connection_closed (dpy, error_message)
|
||||
#endif
|
||||
|
||||
#ifdef USE_GTK
|
||||
/* Due to bugs in some Gtk+ versions, just exit here if this
|
||||
is the last display/terminal. */
|
||||
if (terminal_list->next_terminal == NULL)
|
||||
{
|
||||
fprintf (stderr, "%s\n", error_msg);
|
||||
shut_down_emacs (0, 0, Qnil);
|
||||
exit (70);
|
||||
}
|
||||
xg_display_close (dpyinfo->display);
|
||||
/* Due to bugs in some Gtk+ versions, just exit here. */
|
||||
{
|
||||
fprintf (stderr, "%s\n", error_msg);
|
||||
Fkill_emacs (make_number (70));
|
||||
abort (); /* NOTREACHED */
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Indicate that this display is dead. */
|
||||
|
Loading…
Reference in New Issue
Block a user