aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman1993-07-09 21:42:51 +0000
committerRichard M. Stallman1993-07-09 21:42:51 +0000
commit97f3b3d6e9f5524a01443f9352737013be4fc6ae (patch)
treeffca07edd1942ebbb35823bc8a33f5614a7afdf7 /src/process.c
parentdba3adb09b723188607eb156d6d51a4bb5d3ae5f (diff)
downloademacs-97f3b3d6e9f5524a01443f9352737013be4fc6ae.tar.gz
emacs-97f3b3d6e9f5524a01443f9352737013be4fc6ae.zip
(wait_reading_process_input): If wait_for_cell, do call
swallow_events and do_pending_window_change when appropriate.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index 7b210b70c02..e5e77a6f9b0 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1880,7 +1880,8 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
1880 /* If there is any, return immediately 1880 /* If there is any, return immediately
1881 to give it higher priority than subprocesses */ 1881 to give it higher priority than subprocesses */
1882 1882
1883 if (XINT (read_kbd) && detect_input_pending ()) 1883 if ((XINT (read_kbd) || wait_for_cell)
1884 && detect_input_pending ())
1884 { 1885 {
1885 swallow_events (); 1886 swallow_events ();
1886 if (detect_input_pending ()) 1887 if (detect_input_pending ())
@@ -1906,7 +1907,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
1906 1907
1907 /* If checking input just got us a size-change event from X, 1908 /* If checking input just got us a size-change event from X,
1908 obey it now if we should. */ 1909 obey it now if we should. */
1909 if (XINT (read_kbd)) 1910 if (XINT (read_kbd) || wait_for_cell)
1910 do_pending_window_change (); 1911 do_pending_window_change ();
1911 1912
1912 /* Check for data from a process or a command channel */ 1913 /* Check for data from a process or a command channel */