Mercurial > emacs
changeset 95111:f3a094e70d91
(wait_reading_process_output): Always check status when in batch mode.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 19 May 2008 16:29:33 +0000 |
parents | 37df7f02ad6a |
children | 0835cb21d60e |
files | src/process.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Mon May 19 16:29:18 2008 +0000 +++ b/src/process.c Mon May 19 16:29:33 2008 +0000 @@ -4411,8 +4411,11 @@ /* If status of something has changed, and no input is available, notify the user of the change right away. After this explicit check, we'll let the SIGCHLD handler zap - timeout to get our attention. */ - if (update_tick != process_tick && do_display) + timeout to get our attention. When Emacs is run + interactively, only do this with a nonzero DO_DISPLAY + argument, because status_notify triggers redisplay. */ + if (update_tick != process_tick + && (do_display || noninteractive)) { SELECT_TYPE Atemp; #ifdef NON_BLOCKING_CONNECT