diff --git a/src/dispnew.c b/src/dispnew.c index da5e9c6e398..e88029b827f 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -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)