changeset 6429:1dbe24a029fd

(wait_reading_process_input, both versions): Don't call redisplay_preserve_echo_area unless do_display.
author Richard M. Stallman <rms@gnu.org>
date Sun, 20 Mar 1994 01:16:55 +0000
parents 633b2d7d12df
children bfc8a1891b78
files src/process.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Sun Mar 20 01:13:53 1994 +0000
+++ b/src/process.c	Sun Mar 20 01:16:55 1994 +0000
@@ -1854,7 +1854,7 @@
 	 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 @@
      `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 @@
 
       /* 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 ())