aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorRichard M. Stallman1994-03-20 01:16:55 +0000
committerRichard M. Stallman1994-03-20 01:16:55 +0000
commit5164ee8e40de0b6dec527d790c0cc7c7ab48b6c1 (patch)
tree3d0910336feddf978b125dc4d514cff92ee8bff6 /src/process.c
parent4ee3140490149404c00308f26525505877764889 (diff)
downloademacs-5164ee8e40de0b6dec527d790c0cc7c7ab48b6c1.tar.gz
emacs-5164ee8e40de0b6dec527d790c0cc7c7ab48b6c1.zip
(wait_reading_process_input, both versions): Don't call
redisplay_preserve_echo_area unless do_display.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c
index 8db5209620d..6f74d50a995 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1854,7 +1854,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
1854 condition here; if a SIGIO arrives between now and the select 1854 condition here; if a SIGIO arrives between now and the select
1855 and indicates that a frame is trashed, the select may block 1855 and indicates that a frame is trashed, the select may block
1856 displaying a trashed screen. */ 1856 displaying a trashed screen. */
1857 if (frame_garbaged) 1857 if (frame_garbaged && do_display)
1858 redisplay_preserve_echo_area (); 1858 redisplay_preserve_echo_area ();
1859 1859
1860 if (XINT (read_kbd) && detect_input_pending ()) 1860 if (XINT (read_kbd) && detect_input_pending ())
@@ -3195,7 +3195,7 @@ extern int frame_garbaged;
3195 `subprocesses' isn't defined. 3195 `subprocesses' isn't defined.
3196 3196
3197 do_display != 0 means redisplay should be done to show subprocess 3197 do_display != 0 means redisplay should be done to show subprocess
3198 output that arrives. This version of the function ignores it. 3198 output that arrives.
3199 3199
3200 Return true iff we received input from any process. */ 3200 Return true iff we received input from any process. */
3201 3201
@@ -3262,7 +3262,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
3262 3262
3263 /* If a frame has been newly mapped and needs updating, 3263 /* If a frame has been newly mapped and needs updating,
3264 reprocess its display stuff. */ 3264 reprocess its display stuff. */
3265 if (frame_garbaged) 3265 if (frame_garbaged && do_display)
3266 redisplay_preserve_echo_area (); 3266 redisplay_preserve_echo_area ();
3267 3267
3268 if (XINT (read_kbd) && detect_input_pending ()) 3268 if (XINT (read_kbd) && detect_input_pending ())