diff options
author | Kim F. Storm <storm@cua.dk> | 2006-06-01 13:53:19 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2006-06-01 13:53:19 +0000 |
commit | 29bcbe54e131e03bb3a4d41c35dfbf5a7a8c0bfb (patch) | |
tree | b7a31f39b15f65e567ef710cd03118b646f794cb /src/dispnew.c | |
parent | a71a77046d9afc7ffaef3fa67b5e9b4434a2f0a9 (diff) | |
download | emacs-29bcbe54e131e03bb3a4d41c35dfbf5a7a8c0bfb.tar.gz |
(sit_for): Perform redisplay even if input is pending
when redisplay-dont-pause is non-nil.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r-- | src/dispnew.c | 5 |
1 files changed, 4 insertions, 1 deletions
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) |