diff options
| author | Richard M. Stallman | 1996-03-08 03:51:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-03-08 03:51:46 +0000 |
| commit | 5de50bfbba966eb0e17045d4804e99618d2d8ba4 (patch) | |
| tree | c413d4ea9d86697c32a4c38908bbe0098d915553 /src | |
| parent | bcd4624585336c64e74cba42fcc12108d0d2a3d6 (diff) | |
| download | emacs-5de50bfbba966eb0e17045d4804e99618d2d8ba4.tar.gz emacs-5de50bfbba966eb0e17045d4804e99618d2d8ba4.zip | |
(wait_reading_process_input):
Redisplay after timer_check if timers were actually run.
Diffstat (limited to 'src')
| -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; |