]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_key_sequence): Set initial_idleness_start_time
authorDave Love <fx@gnu.org>
Fri, 5 Jul 2002 18:51:59 +0000 (18:51 +0000)
committerDave Love <fx@gnu.org>
Fri, 5 Jul 2002 18:51:59 +0000 (18:51 +0000)
correctly.

src/keyboard.c

index 5e038c264ed70e2ab4d889c6c31a859b9758f13b..19a3423f238b2f0701a3fee0e37b04fb4f326ac0 100644 (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 ();