diff options
Diffstat (limited to 'src/atimer.c')
-rw-r--r-- | src/atimer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/atimer.c b/src/atimer.c index 7e78bdad9c0..9ec0238ff28 100644 --- a/src/atimer.c +++ b/src/atimer.c @@ -375,7 +375,9 @@ alarm_signal_handler (signo) t = atimers; atimers = atimers->next; +#ifndef MAC_OSX t->fn (t); +#endif if (t->type == ATIMER_CONTINUOUS) { @@ -387,6 +389,10 @@ alarm_signal_handler (signo) t->next = free_atimers; free_atimers = t; } +#ifdef MAC_OSX + /* Fix for Ctrl-G. Perhaps this should apply to all platforms. */ + t->fn (t); +#endif EMACS_GET_TIME (now); } |