aboutsummaryrefslogtreecommitdiffstats
path: root/src/atimer.c
diff options
context:
space:
mode:
authorJan Djärv2004-10-31 12:25:46 +0000
committerJan Djärv2004-10-31 12:25:46 +0000
commitfcdb28b473b74bd2a2d79675280764d3abde0659 (patch)
treeb963fc79ddbacf5ec2d0d8f4d8cd989e1e90340f /src/atimer.c
parent67156185a714845d5815edd518165dda5b297bf4 (diff)
downloademacs-fcdb28b473b74bd2a2d79675280764d3abde0659.tar.gz
emacs-fcdb28b473b74bd2a2d79675280764d3abde0659.zip
* atimer.c (alarm_signal_handler): Do not call set_alarm if
pending_atmers is non-zero.
Diffstat (limited to 'src/atimer.c')
-rw-r--r--src/atimer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/atimer.c b/src/atimer.c
index 9ec0238ff28..7410cad0244 100644
--- a/src/atimer.c
+++ b/src/atimer.c
@@ -397,7 +397,8 @@ alarm_signal_handler (signo)
397 EMACS_GET_TIME (now); 397 EMACS_GET_TIME (now);
398 } 398 }
399 399
400 set_alarm (); 400 if (! pending_atimers)
401 set_alarm ();
401} 402}
402 403
403 404