From 5b7bc0da05e3cfb118d0e2d8004e6f6b17872573 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 31 Oct 2000 16:31:04 +0000 Subject: [PATCH] (read_char) : Make sure that we process idle timers while waiting for another event. --- src/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index eb6bc117651..b086ae57ca6 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -2504,6 +2504,7 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) /* Actually read a character, waiting if necessary. */ save_getcjmp (save_jump); restore_getcjmp (local_getcjmp); + timer_start_idle (); c = kbd_buffer_get_event (&kb, used_mouse_menu); restore_getcjmp (save_jump); @@ -2550,7 +2551,6 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) non_reread: timer_stop_idle (); - start_polling (); if (NILP (c)) -- 2.39.5