]> git.eshelyaron.com Git - emacs.git/commit
Put follow-mode's engine on pre-redisplay-hook instead of post-command-hook
authorAlan Mackenzie <acm@muc.de>
Wed, 3 Oct 2018 10:45:59 +0000 (10:45 +0000)
committerAlan Mackenzie <acm@muc.de>
Wed, 3 Oct 2018 10:45:59 +0000 (10:45 +0000)
commit51f0cccdde9bd1679e20f35d30e39e872ce6513a
treed0d88b4ca9f6b5b575e1f88904a56c6a99ada9b9
parent3eedabaef37ecbcf30144ab9efa2441bbfc950e0
Put follow-mode's engine on pre-redisplay-hook instead of post-command-hook

This fixes bug #32874.

* lisp/follow.el (follow-mode): Put follow-pre-redisplay-function onto
pre-redisplay-function instead of putting follow-post-command-hook onto
post-command-hook.  Amend the removal operation analogously.
(follow-pre-redisplay-function): New function.
lisp/follow.el