diff options
| author | Dave Love | 2002-07-05 18:51:59 +0000 |
|---|---|---|
| committer | Dave Love | 2002-07-05 18:51:59 +0000 |
| commit | e431fcda805ccc6b2442ddf5b7f2fcac29ab7d85 (patch) | |
| tree | 72f641681b87c8b7a16ca88654b34461112c1c83 /src/keyboard.c | |
| parent | 42cc3428ed2707f7a3fadcaaa827f9c8010b4c8f (diff) | |
| download | emacs-e431fcda805ccc6b2442ddf5b7f2fcac29ab7d85.tar.gz emacs-e431fcda805ccc6b2442ddf5b7f2fcac29ab7d85.zip | |
(read_key_sequence): Set initial_idleness_start_time
correctly.
Diffstat (limited to 'src/keyboard.c')
| -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 5e038c264ed..19a3423f238 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -8375,8 +8375,10 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last, | |||
| 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 (); |