(sit_for): Perform redisplay even if input is pending
[bpt/emacs.git] / src / dispnew.c
index da5e9c6..e88029b 100644 (file)
@@ -6405,7 +6405,10 @@ sit_for (sec, usec, reading, display, initial_display)
 {
   swallow_events (display);
 
-  if (detect_input_pending_run_timers (display) || !NILP (Vexecuting_kbd_macro))
+  if ((detect_input_pending_run_timers (display)
+       && !redisplay_dont_pause)
+      || !NILP (Vexecuting_kbd_macro))
+
     return Qnil;
 
   if (initial_display)