]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_connection_closed): Call clear_waiting_for_input.
authorRichard M. Stallman <rms@gnu.org>
Thu, 27 Jun 1996 23:20:46 +0000 (23:20 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 27 Jun 1996 23:20:46 +0000 (23:20 +0000)
src/xterm.c

index 4dfaece68b23cd9360bc53f7b67b9500c6e0937c..49dd9fe164b1613762999bb9c12f4a8a533d41c4 100644 (file)
@@ -4531,12 +4531,7 @@ 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 ();
-    }
-
+  clear_waiting_for_input ();
   error ("%s", error_message);
 }