Variable: scroll-all-mode

scroll-all-mode is a customizable variable defined in scroll-all.el.gz.

Value

nil

Documentation

Non-nil if Scroll-All mode is enabled.

See the scroll-all-mode(var)/scroll-all-mode(fun) command for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node (emacs)Easy Customization) or call the function scroll-all-mode(var)/scroll-all-mode(fun).

View in manual

Key Bindings

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)))