aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-03-24 01:53:00 +0000
committerJim Blandy1993-03-24 01:53:00 +0000
commite6b01c14b7ccb0a0cdf8cb80a50061464a4a1876 (patch)
tree528b2a669122ba3a1b72b3e38e77aafe6c5a7caa /src
parent1315c181f58877fa580b4d7940460b2504a678af (diff)
downloademacs-e6b01c14b7ccb0a0cdf8cb80a50061464a4a1876.tar.gz
emacs-e6b01c14b7ccb0a0cdf8cb80a50061464a4a1876.zip
* 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.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index aa2a8503270..468d9703fe0 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -4265,7 +4265,6 @@ interrupt_signal ()
4265 char c; 4265 char c;
4266 /* Must preserve main program's value of errno. */ 4266 /* Must preserve main program's value of errno. */
4267 int old_errno = errno; 4267 int old_errno = errno;
4268 extern Lisp_Object Vwindow_system;
4269 4268
4270#ifdef USG 4269#ifdef USG
4271 /* USG systems forget handlers when they are used; 4270 /* USG systems forget handlers when they are used;
@@ -4358,6 +4357,12 @@ quit_throw_to_read_char ()
4358 unread_command_events = Qnil; 4357 unread_command_events = Qnil;
4359 unread_command_char = -1; 4358 unread_command_char = -1;
4360 4359
4360#ifdef POLL_FOR_INPUT
4361 /* May be > 1 if in recursive minibuffer. */
4362 if (poll_suppress_count == 0)
4363 abort ();
4364#endif
4365
4361 _longjmp (getcjmp, 1); 4366 _longjmp (getcjmp, 1);
4362} 4367}
4363 4368