summaryrefslogtreecommitdiff
path: root/lisp/scroll-all.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2002-07-29 13:53:48 +0000
committerGlenn Morris <rgm@gnu.org>2002-07-29 13:53:48 +0000
commitda5d3a563fc8c8f4adfa5031c2baa8236100c35f (patch)
treeafb2363f922f4bdbaaef78460785333e133974e9 /lisp/scroll-all.el
parent091b5fdbd802f60f2442dce3f9f85b8e81c948de (diff)
downloademacs-da5d3a563fc8c8f4adfa5031c2baa8236100c35f.tar.gz
(scroll-all-mode): Make argument optional. Add to doc string.
Diffstat (limited to 'lisp/scroll-all.el')
-rw-r--r--lisp/scroll-all.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/scroll-all.el b/lisp/scroll-all.el
index 9092cfa7525..734a83bacef 100644
--- a/lisp/scroll-all.el
+++ b/lisp/scroll-all.el
@@ -122,8 +122,11 @@ use either \\[customize] or the function `scroll-all-mode'."
;;;###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)