diff options
| -rw-r--r-- | src/process.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index 26a18545f8e..50952bf1647 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -4411,8 +4411,11 @@ wait_reading_process_output (time_limit, microsecs, read_kbd, do_display, | |||
| 4411 | /* If status of something has changed, and no input is | 4411 | /* If status of something has changed, and no input is |
| 4412 | available, notify the user of the change right away. After | 4412 | available, notify the user of the change right away. After |
| 4413 | this explicit check, we'll let the SIGCHLD handler zap | 4413 | this explicit check, we'll let the SIGCHLD handler zap |
| 4414 | timeout to get our attention. */ | 4414 | timeout to get our attention. When Emacs is run |
| 4415 | if (update_tick != process_tick && do_display) | 4415 | interactively, only do this with a nonzero DO_DISPLAY |
| 4416 | argument, because status_notify triggers redisplay. */ | ||
| 4417 | if (update_tick != process_tick | ||
| 4418 | && (do_display || noninteractive)) | ||
| 4416 | { | 4419 | { |
| 4417 | SELECT_TYPE Atemp; | 4420 | SELECT_TYPE Atemp; |
| 4418 | #ifdef NON_BLOCKING_CONNECT | 4421 | #ifdef NON_BLOCKING_CONNECT |