diff options
Diffstat (limited to 'src/time.c')
-rw-r--r-- | src/time.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/time.c b/src/time.c index cc29d0d398..d1cf21b6bc 100644 --- a/src/time.c +++ b/src/time.c @@ -497,10 +497,12 @@ check_due_timer(void) may_garbage_collect = FALSE; save_vimvars(&vvsave); + // Invoke the callback. timer->tr_firing = TRUE; timer_callback(timer); timer->tr_firing = FALSE; + // Restore stuff. timer_next = timer->tr_next; did_one = TRUE; timer_busy = save_timer_busy; |