/* Asynchronous timers.
- Copyright (C) 2000-2012 Free Software Foundation, Inc.
+ Copyright (C) 2000-2013 Free Software Foundation, Inc.
This file is part of GNU Emacs.
struct atimer *a = atimers, *prev = NULL;
/* Look for the first atimer that is ripe after T. */
- while (a && EMACS_TIME_GT (t->expiration, a->expiration))
+ while (a && EMACS_TIME_LT (a->expiration, t->expiration))
prev = a, a = a->next;
/* Insert T in front of the atimer found, if any. */