diff options
| author | Gerd Moellmann | 2000-02-12 13:11:29 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-02-12 13:11:29 +0000 |
| commit | 6fe007f7d1a39a005979f272ed4a4092a146b932 (patch) | |
| tree | bb2131a4eabc69a65fcc2b281a700d9e66ff93b0 | |
| parent | 077c040bfa59a3c0a56b8918e5e2524470cc5730 (diff) | |
| download | emacs-6fe007f7d1a39a005979f272ed4a4092a146b932.tar.gz emacs-6fe007f7d1a39a005979f272ed4a4092a146b932.zip | |
(bind_polling_period): Stop all timers except
poll_timer.
| -rw-r--r-- | src/keyboard.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 3691f1b997e..0b145454729 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1826,6 +1826,7 @@ bind_polling_period (n) | |||
| 1826 | if (n > new) | 1826 | if (n > new) |
| 1827 | new = n; | 1827 | new = n; |
| 1828 | 1828 | ||
| 1829 | stop_other_atimers (poll_timer); | ||
| 1829 | stop_polling (); | 1830 | stop_polling (); |
| 1830 | specbind (Qpolling_period, make_number (new)); | 1831 | specbind (Qpolling_period, make_number (new)); |
| 1831 | /* Start a new alarm with the new period. */ | 1832 | /* Start a new alarm with the new period. */ |