diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c index c9c7aa79545..1ff26c83259 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -251,6 +251,7 @@ int proc_buffered_char[MAXDESC]; | |||
| 251 | static Lisp_Object get_process (); | 251 | static Lisp_Object get_process (); |
| 252 | 252 | ||
| 253 | extern EMACS_TIME timer_check (); | 253 | extern EMACS_TIME timer_check (); |
| 254 | extern int timers_run; | ||
| 254 | 255 | ||
| 255 | /* Maximum number of bytes to send to a pty without an eof. */ | 256 | /* Maximum number of bytes to send to a pty without an eof. */ |
| 256 | static int pty_max_bytes; | 257 | static int pty_max_bytes; |
| @@ -2078,7 +2079,10 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 2078 | if (read_kbd >= 0) | 2079 | if (read_kbd >= 0) |
| 2079 | { | 2080 | { |
| 2080 | EMACS_TIME timer_delay; | 2081 | EMACS_TIME timer_delay; |
| 2082 | int old_timers_run = timers_run; | ||
| 2081 | timer_delay = timer_check (1); | 2083 | timer_delay = timer_check (1); |
| 2084 | if (timers_run != old_timers_run && do_display) | ||
| 2085 | redisplay_preserve_echo_area (); | ||
| 2082 | if (! EMACS_TIME_NEG_P (timer_delay) && time_limit != -1) | 2086 | if (! EMACS_TIME_NEG_P (timer_delay) && time_limit != -1) |
| 2083 | { | 2087 | { |
| 2084 | EMACS_TIME difference; | 2088 | EMACS_TIME difference; |