Variable: scroll-all-mode-hook
scroll-all-mode-hook is a customizable variable defined in
scroll-all.el.gz.
Value
nil
Documentation
Hook run after entering or leaving scroll-all-mode(var)/scroll-all-mode(fun).
No problems result if this variable is not bound.
add-hook automatically binds it. (This is true for all hook variables.)
Source Code
;; Defined in /usr/src/emacs/lisp/scroll-all.el.gz
;;;###autoload
(define-minor-mode scroll-all-mode
"Toggle shared scrolling in same-frame windows (Scroll-All mode).
When Scroll-All mode is enabled, scrolling commands invoked in
one window apply to all visible windows in the same frame."
:lighter " *SL*"
:global t
:group 'windows
(if scroll-all-mode
(add-hook 'post-command-hook 'scroll-all-check-to-scroll)
(remove-hook 'post-command-hook 'scroll-all-check-to-scroll)))