diff options
author | Dave Love <[email protected]> | 2002-07-05 18:51:59 +0000 |
---|---|---|
committer | Dave Love <[email protected]> | 2002-07-05 18:51:59 +0000 |
commit | e431fcda805ccc6b2442ddf5b7f2fcac29ab7d85 (patch) | |
tree | 72f641681b87c8b7a16ca88654b34461112c1c83 /src | |
parent | 42cc3428ed2707f7a3fadcaaa827f9c8010b4c8f (diff) |
(read_key_sequence): Set initial_idleness_start_time
correctly.
Diffstat (limited to 'src')
-rw-r--r-- | src/keyboard.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 5e038c264e..19a3423f23 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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 (); |