summaryrefslogtreecommitdiff
path: root/src/atimer.c
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2004-10-31 12:25:46 +0000
committerJan Djärv <jan.h.d@swipnet.se>2004-10-31 12:25:46 +0000
commitfcdb28b473b74bd2a2d79675280764d3abde0659 (patch)
treeb963fc79ddbacf5ec2d0d8f4d8cd989e1e90340f /src/atimer.c
parent67156185a714845d5815edd518165dda5b297bf4 (diff)
downloademacs-fcdb28b473b74bd2a2d79675280764d3abde0659.tar.gz
* 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)
EMACS_GET_TIME (now);
}
- set_alarm ();
+ if (! pending_atimers)
+ set_alarm ();
}