summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-03-20 01:16:55 +0000
committerRichard M. Stallman <rms@gnu.org>1994-03-20 01:16:55 +0000
commit5164ee8e40de0b6dec527d790c0cc7c7ab48b6c1 (patch)
tree3d0910336feddf978b125dc4d514cff92ee8bff6
parent4ee3140490149404c00308f26525505877764889 (diff)
downloademacs-5164ee8e40de0b6dec527d790c0cc7c7ab48b6c1.tar.gz
emacs-5164ee8e40de0b6dec527d790c0cc7c7ab48b6c1.tar.bz2
emacs-5164ee8e40de0b6dec527d790c0cc7c7ab48b6c1.zip
(wait_reading_process_input, both versions): Don't call
redisplay_preserve_echo_area unless do_display.
-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)
condition here; if a SIGIO arrives between now and the select
and indicates that a frame is trashed, the select may block
displaying a trashed screen. */
- if (frame_garbaged)
+ if (frame_garbaged && do_display)
redisplay_preserve_echo_area ();
if (XINT (read_kbd) && detect_input_pending ())
@@ -3195,7 +3195,7 @@ extern int frame_garbaged;
`subprocesses' isn't defined.
do_display != 0 means redisplay should be done to show subprocess
- output that arrives. This version of the function ignores it.
+ output that arrives.
Return true iff we received input from any process. */
@@ -3262,7 +3262,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
/* If a frame has been newly mapped and needs updating,
reprocess its display stuff. */
- if (frame_garbaged)
+ if (frame_garbaged && do_display)
redisplay_preserve_echo_area ();
if (XINT (read_kbd) && detect_input_pending ())