From: Richard M. Stallman Date: Tue, 9 Apr 1996 02:41:15 +0000 (+0000) Subject: (sit_for): Call swallow_events. X-Git-Tag: emacs-19.34~896 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ccddf4746cc31ebf96b222bf5bb1643c6fa1bda5;p=emacs.git (sit_for): Call swallow_events. --- 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) { Lisp_Object read_kbd; + swallow_events (display); + if (detect_input_pending_run_timers (display)) return Qnil;