diff options
| author | Gerd Moellmann | 2000-10-31 16:31:04 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-10-31 16:31:04 +0000 |
| commit | 5b7bc0da05e3cfb118d0e2d8004e6f6b17872573 (patch) | |
| tree | 12f388cf69be4c829d8916bbbff3fe54aaf2bccd /src | |
| parent | 49fc45009ec4c2a08e29e22e3ebac7551aabc84a (diff) | |
| download | emacs-5b7bc0da05e3cfb118d0e2d8004e6f6b17872573.tar.gz emacs-5b7bc0da05e3cfb118d0e2d8004e6f6b17872573.zip | |
(read_char) <wrong_kboard>: Make sure that we
process idle timers while waiting for another event.
Diffstat (limited to 'src')
| -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) | |||
| 2504 | /* Actually read a character, waiting if necessary. */ | 2504 | /* Actually read a character, waiting if necessary. */ |
| 2505 | save_getcjmp (save_jump); | 2505 | save_getcjmp (save_jump); |
| 2506 | restore_getcjmp (local_getcjmp); | 2506 | restore_getcjmp (local_getcjmp); |
| 2507 | timer_start_idle (); | ||
| 2507 | c = kbd_buffer_get_event (&kb, used_mouse_menu); | 2508 | c = kbd_buffer_get_event (&kb, used_mouse_menu); |
| 2508 | restore_getcjmp (save_jump); | 2509 | restore_getcjmp (save_jump); |
| 2509 | 2510 | ||
| @@ -2550,7 +2551,6 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu) | |||
| 2550 | non_reread: | 2551 | non_reread: |
| 2551 | 2552 | ||
| 2552 | timer_stop_idle (); | 2553 | timer_stop_idle (); |
| 2553 | |||
| 2554 | start_polling (); | 2554 | start_polling (); |
| 2555 | 2555 | ||
| 2556 | if (NILP (c)) | 2556 | if (NILP (c)) |