aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2006-06-01 13:53:19 +0000
committerKim F. Storm2006-06-01 13:53:19 +0000
commit29bcbe54e131e03bb3a4d41c35dfbf5a7a8c0bfb (patch)
treeb7a31f39b15f65e567ef710cd03118b646f794cb
parenta71a77046d9afc7ffaef3fa67b5e9b4434a2f0a9 (diff)
downloademacs-29bcbe54e131e03bb3a4d41c35dfbf5a7a8c0bfb.tar.gz
emacs-29bcbe54e131e03bb3a4d41c35dfbf5a7a8c0bfb.zip
(sit_for): Perform redisplay even if input is pending
when redisplay-dont-pause is non-nil.
-rw-r--r--src/dispnew.c5
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)
6405{ 6405{
6406 swallow_events (display); 6406 swallow_events (display);
6407 6407
6408 if (detect_input_pending_run_timers (display) || !NILP (Vexecuting_kbd_macro)) 6408 if ((detect_input_pending_run_timers (display)
6409 && !redisplay_dont_pause)
6410 || !NILP (Vexecuting_kbd_macro))
6411
6409 return Qnil; 6412 return Qnil;
6410 6413
6411 if (initial_display) 6414 if (initial_display)