changeset 2340:f19f4582c04d

* keyboard.c [POLL_FOR_INPUT] (quit_throw_to_read_char): If we're polling for input, abort; input polling should always be suppressed while we're waiting for input. * keyboard.c (interrupt_signal): Remove extern declaration of Vwindow_system; this is no longer used.
author Jim Blandy <jimb@redhat.com>
date Wed, 24 Mar 1993 01:53:00 +0000
parents a302de11debf
children 1982e2983822
files src/keyboard.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Wed Mar 24 01:51:35 1993 +0000
+++ b/src/keyboard.c	Wed Mar 24 01:53:00 1993 +0000
@@ -4265,7 +4265,6 @@
   char c;
   /* Must preserve main program's value of errno.  */
   int old_errno = errno;
-  extern Lisp_Object Vwindow_system;
 
 #ifdef USG
   /* USG systems forget handlers when they are used;
@@ -4358,6 +4357,12 @@
   unread_command_events = Qnil;
   unread_command_char = -1;
 
+#ifdef POLL_FOR_INPUT
+  /* May be > 1 if in recursive minibuffer.  */
+  if (poll_suppress_count == 0)
+    abort ();
+#endif
+
   _longjmp (getcjmp, 1);
 }