aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1992-03-17 23:19:40 +0000
committerJim Blandy1992-03-17 23:19:40 +0000
commit519a3b65d998dd184d920db96c5f321c100c40a7 (patch)
treed9e10ba7ae73343a0e8ac7990bade6098417039d /src
parent8cf9a8c6208c825351c823cc7fdba7c6d91b6c43 (diff)
downloademacs-519a3b65d998dd184d920db96c5f321c100c40a7.tar.gz
emacs-519a3b65d998dd184d920db96c5f321c100c40a7.zip
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c22
1 files changed, 4 insertions, 18 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 259a2aabd6d..c0f9ae4424b 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1,5 +1,5 @@
1/* Keyboard and mouse input; editor command loop. 1/* Keyboard and mouse input; editor command loop.
2 Copyright (C) 1985, 1986, 1987, 1988, 1989 Free Software Foundation, Inc. 2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1992 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
5 5
@@ -1156,6 +1156,9 @@ read_char (commandflag)
1156 if (_setjmp (getcjmp)) 1156 if (_setjmp (getcjmp))
1157 { 1157 {
1158 XSET (c, Lisp_Int, quit_char); 1158 XSET (c, Lisp_Int, quit_char);
1159#ifdef MULTI_SCREEN
1160 XSET (Vlast_event_screen, Lisp_Screen, selected_screen);
1161#endif
1159 1162
1160 waiting_for_input = 0; 1163 waiting_for_input = 0;
1161 input_available_clear_word = 0; 1164 input_available_clear_word = 0;
@@ -1586,24 +1589,7 @@ kbd_buffer_get_event ()
1586#endif /* SIGIO */ 1589#endif /* SIGIO */
1587 if (EVENT_QUEUES_EMPTY) 1590 if (EVENT_QUEUES_EMPTY)
1588 { 1591 {
1589#ifdef subprocesses
1590 wait_reading_process_input (0, 0, -1, 1); 1592 wait_reading_process_input (0, 0, -1, 1);
1591#else
1592/* Note SIGIO has been undef'd if FIONREAD is missing. */
1593#ifdef SIGIO
1594 if (interrupt_input)
1595 {
1596 sigblockx (SIGIO);
1597 set_waiting_for_input (0);
1598 while (EVENT_QUEUES_EMPTY)
1599 sigpausex (SIGIO);
1600 clear_waiting_for_input ();
1601 sigunblockx (SIGIO);
1602 }
1603#else
1604 interrupt_input = 0;
1605#endif /* not SIGIO */
1606#endif /* subprocesses */
1607 1593
1608 if (!interrupt_input && EVENT_QUEUES_EMPTY) 1594 if (!interrupt_input && EVENT_QUEUES_EMPTY)
1609 { 1595 {