aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-04-09 02:41:15 +0000
committerRichard M. Stallman1996-04-09 02:41:15 +0000
commitccddf4746cc31ebf96b222bf5bb1643c6fa1bda5 (patch)
treecfc2d3808bf8a3a243e7fd996920086d1ea87c3c
parent10537cb12d10a1d04a0214f4319e2969c0c5a59f (diff)
downloademacs-ccddf4746cc31ebf96b222bf5bb1643c6fa1bda5.tar.gz
emacs-ccddf4746cc31ebf96b222bf5bb1643c6fa1bda5.zip
(sit_for): Call swallow_events.
-rw-r--r--src/dispnew.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index c9a94cf37ed..25ac26dd951 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2367,6 +2367,8 @@ sit_for (sec, usec, reading, display)
2367{ 2367{
2368 Lisp_Object read_kbd; 2368 Lisp_Object read_kbd;
2369 2369
2370 swallow_events (display);
2371
2370 if (detect_input_pending_run_timers (display)) 2372 if (detect_input_pending_run_timers (display))
2371 return Qnil; 2373 return Qnil;
2372 2374