]> git.eshelyaron.com Git - emacs.git/commit
Restart tick counting every command
authorEli Zaretskii <eliz@gnu.org>
Tue, 14 Jun 2022 16:05:38 +0000 (19:05 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 14 Jun 2022 16:05:38 +0000 (19:05 +0300)
commitbd44f39d6d4900e406f87d6f4df1ee015dd21300
tree8be16b1ca7cab06d89866abbaee6c50cd605e591
parentf1e1392868d282bf1ee7623fcdf3d094509ba8dd
Restart tick counting every command

* src/keyboard.c (command_loop_1): Reinitialize the tick count
before executing each command in the loop.
* src/xdisp.c (update_redisplay_ticks): Be more defensive to W
being NULL and to its buffer being nil.  Set
'windows_or_buffers_changed' to avoid trusting stale window data
like w->window_end_valid.
src/keyboard.c
src/xdisp.c