From ccddf4746cc31ebf96b222bf5bb1643c6fa1bda5 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 9 Apr 1996 02:41:15 +0000 Subject: [PATCH] (sit_for): Call swallow_events. --- src/dispnew.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.2