(scroll-all-mode): Make argument optional. Add to doc string.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2002-07-29 Glenn Morris <gmorris@ast.cam.ac.uk>
|
||||
|
||||
* scroll-all.el (scroll-all-mode): Make argument optional. Doc fix.
|
||||
|
||||
2002-07-29 John Paul Wallington <jpw@shootybangbang.com>
|
||||
|
||||
* scroll-all.el (scroll-all-mode): Handle numeric arg. Use `if'
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user