Mercurial > emacs
diff src/keyboard.c @ 55597:2f83cdfb90f6
Undo last change.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 14 May 2004 23:01:45 +0000 |
parents | 0249aeeeaad6 |
children | b5168ee835cb |
line wrap: on
line diff
--- a/src/keyboard.c Fri May 14 20:16:06 2004 +0000 +++ b/src/keyboard.c Fri May 14 23:01:45 2004 +0000 @@ -4249,8 +4249,6 @@ run the timer directly instead of queueing a timer-event. Now we always run timers directly. */ -static int in_timer_check = 0; - EMACS_TIME timer_check (do_it_now) int do_it_now; @@ -4263,11 +4261,6 @@ EMACS_SET_SECS (nexttime, -1); EMACS_SET_USECS (nexttime, -1); - if (in_timer_check) - return nexttime; - - in_timer_check = 1; - /* Always consider the ordinary timers. */ timers = Vtimer_list; /* Consider the idle timers only if Emacs is idle. */ @@ -4426,7 +4419,6 @@ return the amount of time to wait before it is ripe. */ { UNGCPRO; - in_timer_check = 0; return difference; } } @@ -4434,7 +4426,6 @@ /* No timers are pending in the future. */ /* Return 0 if we generated an event, and -1 if not. */ UNGCPRO; - in_timer_check = 0; return nexttime; }