comparison src/keyboard.c @ 46181:92759818ae6d

(read_key_sequence): Set initial_idleness_start_time correctly.
author Dave Love <fx@gnu.org>
date Fri, 05 Jul 2002 18:51:59 +0000
parents b2fc143f439d
children 3f111801efb4
comparison
equal deleted inserted replaced
46180:fe05a48a78e1 46181:92759818ae6d
8373 8373
8374 /* If the current buffer has been changed from under us, the 8374 /* If the current buffer has been changed from under us, the
8375 keymap may have changed, so replay the sequence. */ 8375 keymap may have changed, so replay the sequence. */
8376 if (BUFFERP (key)) 8376 if (BUFFERP (key))
8377 { 8377 {
8378 EMACS_TIME initial_idleness_start_time 8378 EMACS_TIME initial_idleness_start_time;
8379 = timer_last_idleness_start_time; 8379 EMACS_SET_SECS_USECS (initial_idleness_start_time,
8380 EMACS_SECS (timer_last_idleness_start_time),
8381 EMACS_USECS (timer_last_idleness_start_time));
8380 8382
8381 /* Resume idle state, using the same start-time as before. */ 8383 /* Resume idle state, using the same start-time as before. */
8382 timer_start_idle (); 8384 timer_start_idle ();
8383 timer_idleness_start_time = initial_idleness_start_time; 8385 timer_idleness_start_time = initial_idleness_start_time;
8384 8386