changeset 14785:e4a9806c1e83

(wait_reading_process_input): Redisplay after timer_check if timers were actually run.
author Richard M. Stallman <rms@gnu.org>
date Fri, 08 Mar 1996 03:51:46 +0000
parents c5b4cda157b3
children 9da6f220abd8
files src/process.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Thu Mar 07 20:21:45 1996 +0000
+++ b/src/process.c	Fri Mar 08 03:51:46 1996 +0000
@@ -251,6 +251,7 @@
 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 @@
       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;