changeset 27668:be97ea826e95

(bind_polling_period): Stop all timers except poll_timer.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 12 Feb 2000 13:11:29 +0000
parents 2f9062a74f0e
children 5fddc840c29c
files src/keyboard.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Sat Feb 12 13:10:19 2000 +0000
+++ b/src/keyboard.c	Sat Feb 12 13:11:29 2000 +0000
@@ -1826,6 +1826,7 @@
   if (n > new)
     new = n;
 
+  stop_other_atimers (poll_timer);
   stop_polling ();
   specbind (Qpolling_period, make_number (new));
   /* Start a new alarm with the new period.  */