Mercurial > emacs
changeset 46731:9dd7d15bfb9a
(scroll-all-mode): Make argument optional. Add to doc string.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Mon, 29 Jul 2002 13:52:57 +0000 |
parents | 174c8dfdda14 |
children | c86fc964833f |
files | lisp/scroll-all.el |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/scroll-all.el Mon Jul 29 13:08:44 2002 +0000 +++ b/lisp/scroll-all.el Mon Jul 29 13:52:57 2002 +0000 @@ -122,8 +122,11 @@ ;;;###autoload -(defun scroll-all-mode (arg) - "Toggle Scroll-All minor mode." +(defun scroll-all-mode (&optional arg) + "Toggle Scroll-All minor mode. +With ARG, turn Scroll-All minor mode on if ARG is positive, off otherwise. +When Scroll-All mode is on, scrolling commands entered in one window +apply to all visible windows in the same frame." (interactive "P") (setq scroll-all-mode (if (null arg) (not scroll-all-mode)