diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-06-25 00:32:51 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-06-25 00:32:51 +0000 |
commit | 037f292cce4eb8e423e56873f92655b5f383af52 (patch) | |
tree | ffe314806ffc3498da822efc14f7267e0200c07c /src/xterm.c | |
parent | 4acc144b35351e4139e963f17cd41a3f3790bb59 (diff) | |
download | emacs-037f292cce4eb8e423e56873f92655b5f383af52.tar.gz |
(x_connection_closed): If waiting_for_input, call quit_throw_to_read_char.
Diffstat (limited to 'src/xterm.c')
-rw-r--r-- | src/xterm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index d217f169fee..991b66995cf 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -148,6 +148,8 @@ Lisp_Object x_display_name_list; is the frame to apply to. */ extern struct frame *updating_frame; +extern waiting_for_input; + /* This is a frame waiting to be autoraised, within XTread_socket. */ struct frame *pending_autoraise_frame; @@ -4533,6 +4535,12 @@ x_connection_closed (display, error_message) sigunblock (sigmask (SIGALRM)); TOTALLY_UNBLOCK_INPUT; + if (waiting_for_input) + { + message ("%s", error_message); + quit_throw_to_read_char (); + } + error ("%s", error_message); } |