Commit 61bd39a3 authored by Chong Yidong's avatar Chong Yidong
Browse files

(wait_reading_process_output): Always check status when in batch mode.

parent 90924903
......@@ -4411,8 +4411,11 @@ wait_reading_process_output (time_limit, microsecs, read_kbd, do_display,
/* 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment