* atimer.c (alarm_signal_handler): Do not call set_alarm if
authorJan Djärv <jan.h.d@swipnet.se>
Sun, 31 Oct 2004 12:25:46 +0000 (12:25 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Sun, 31 Oct 2004 12:25:46 +0000 (12:25 +0000)
pending_atmers is non-zero.

src/ChangeLog
src/atimer.c

index 1357d58..8de855d 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-31  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
+
+       * atimer.c (alarm_signal_handler): Do not call set_alarm if
+       pending_atmers is non-zero.
+
 2004-10-31  Kim F. Storm  <storm@cua.dk>
 
        * dispnew.c (margin_glyphs_to_reserve): Don't use ncols_scale_factor.
index 9ec0238..7410cad 100644 (file)
@@ -397,7 +397,8 @@ alarm_signal_handler (signo)
       EMACS_GET_TIME (now);
     }
 
-  set_alarm ();
+  if (! pending_atimers)
+    set_alarm ();
 }