mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
(follow-submit-feedback, follow-mode): Remove
references to post-command-idle-hook.
This commit is contained in:
parent
2fcd33fe6c
commit
ed9bc6140e
@ -394,7 +394,6 @@ Used by `follow-window-size-change'.")
|
|||||||
"Anders Lindgren <andersl@andersl.com>"
|
"Anders Lindgren <andersl@andersl.com>"
|
||||||
"follow.el"
|
"follow.el"
|
||||||
'(post-command-hook
|
'(post-command-hook
|
||||||
post-command-idle-hook
|
|
||||||
pre-command-hook
|
pre-command-hook
|
||||||
window-size-change-functions
|
window-size-change-functions
|
||||||
window-scroll-functions
|
window-scroll-functions
|
||||||
@ -683,9 +682,6 @@ Keys specific to Follow mode:
|
|||||||
(set 'scroll-on-clipped-lines nil))
|
(set 'scroll-on-clipped-lines nil))
|
||||||
(force-mode-line-update)
|
(force-mode-line-update)
|
||||||
(add-hook 'post-command-hook 'follow-post-command-hook t)
|
(add-hook 'post-command-hook 'follow-post-command-hook t)
|
||||||
(if (boundp 'post-command-idle-hook)
|
|
||||||
(add-hook 'post-command-idle-hook
|
|
||||||
'follow-avoid-tail-recenter t))
|
|
||||||
(run-hooks 'follow-mode-hook))
|
(run-hooks 'follow-mode-hook))
|
||||||
|
|
||||||
((and (not follow-mode) follow-mode-orig) ; Off
|
((and (not follow-mode) follow-mode-orig) ; Off
|
||||||
|
Loading…
Reference in New Issue
Block a user