diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-10-31 16:31:04 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-10-31 16:31:04 +0000 |
commit | 5b7bc0da05e3cfb118d0e2d8004e6f6b17872573 (patch) | |
tree | 12f388cf69be4c829d8916bbbff3fe54aaf2bccd | |
parent | 49fc45009ec4c2a08e29e22e3ebac7551aabc84a (diff) | |
download | emacs-5b7bc0da05e3cfb118d0e2d8004e6f6b17872573.tar.gz |
(read_char) <wrong_kboard>: Make sure that we
process idle timers while waiting for another event.
-rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |