summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-03-08 03:51:46 +0000
committerRichard M. Stallman <rms@gnu.org>1996-03-08 03:51:46 +0000
commitef460b65dcac62f1f3529ecc08dee4352531c77e (patch)
tree413b8692b40e4b60fb0b8a21d2ef1002ad622169
parent296d098016abbcaaa38c8c28d465d5861342c64a (diff)
downloademacs-ef460b65dcac62f1f3529ecc08dee4352531c77e.tar.gz
(wait_reading_process_input):
Redisplay after timer_check if timers were actually run.
-rw-r--r--src/process.c4
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];
static Lisp_Object get_process ();
extern EMACS_TIME timer_check ();
+extern int timers_run;
/* Maximum number of bytes to send to a pty without an eof. */
static int pty_max_bytes;
@@ -2078,7 +2079,10 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
if (read_kbd >= 0)
{
EMACS_TIME timer_delay;
+ int old_timers_run = timers_run;
timer_delay = timer_check (1);
+ if (timers_run != old_timers_run && do_display)
+ redisplay_preserve_echo_area ();
if (! EMACS_TIME_NEG_P (timer_delay) && time_limit != -1)
{
EMACS_TIME difference;