(read_key_sequence): Set initial_idleness_start_time

correctly.
This commit is contained in:
Dave Love 2002-07-05 18:51:59 +00:00
parent 42cc3428ed
commit e431fcda80

View file

@ -8375,8 +8375,10 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last,
keymap may have changed, so replay the sequence. */
if (BUFFERP (key))
{
EMACS_TIME initial_idleness_start_time
= timer_last_idleness_start_time;
EMACS_TIME initial_idleness_start_time;
EMACS_SET_SECS_USECS (initial_idleness_start_time,
EMACS_SECS (timer_last_idleness_start_time),
EMACS_USECS (timer_last_idleness_start_time));
/* Resume idle state, using the same start-time as before. */
timer_start_idle ();