Mercurial > emacs
changeset 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 | fe05a48a78e1 |
children | 48b34872db42 |
files | src/keyboard.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Thu Jul 04 22:20:26 2002 +0000 +++ b/src/keyboard.c Fri Jul 05 18:51:59 2002 +0000 @@ -8375,8 +8375,10 @@ 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 ();