diff src/atimer.c @ 57812:938845bec845

* atimer.c (alarm_signal_handler): Do not call set_alarm if pending_atmers is non-zero.
author Jan Djärv <jan.h.d@swipnet.se>
date Sun, 31 Oct 2004 12:25:46 +0000
parents 59a86f6ee1fb
children 59945307b86b e24e2e78deda
line wrap: on
line diff
--- a/src/atimer.c	Sun Oct 31 08:33:38 2004 +0000
+++ b/src/atimer.c	Sun Oct 31 12:25:46 2004 +0000
@@ -397,7 +397,8 @@
       EMACS_GET_TIME (now);
     }
 
-  set_alarm ();
+  if (! pending_atimers)
+    set_alarm ();
 }