aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman1993-05-25 23:19:07 +0000
committerRichard M. Stallman1993-05-25 23:19:07 +0000
commit6e103bac2ad64f9aa26642e8e612e13069688997 (patch)
tree18d86923a905f8a8b7ac69960b3dc7f9402ffa57 /src/process.c
parent8b87a301047d32f26b330ec2bd31001923f64ae9 (diff)
downloademacs-6e103bac2ad64f9aa26642e8e612e13069688997.tar.gz
emacs-6e103bac2ad64f9aa26642e8e612e13069688997.zip
(wait_reading_process_input): Call swallow_events.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 9e2bdad45e3..f2c01258774 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1875,7 +1875,11 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
1875 to give it higher priority than subprocesses */ 1875 to give it higher priority than subprocesses */
1876 1876
1877 if (XINT (read_kbd) && detect_input_pending ()) 1877 if (XINT (read_kbd) && detect_input_pending ())
1878 break; 1878 {
1879 swallow_events ();
1880 if (detect_input_pending ())
1881 break;
1882 }
1879 1883
1880 /* Exit now if the cell we're waiting for became non-nil. */ 1884 /* Exit now if the cell we're waiting for became non-nil. */
1881 if (wait_for_cell && ! NILP (*wait_for_cell)) 1885 if (wait_for_cell && ! NILP (*wait_for_cell))