diff options
| author | Glenn Morris | 2002-07-29 13:53:48 +0000 |
|---|---|---|
| committer | Glenn Morris | 2002-07-29 13:53:48 +0000 |
| commit | da5d3a563fc8c8f4adfa5031c2baa8236100c35f (patch) | |
| tree | afb2363f922f4bdbaaef78460785333e133974e9 | |
| parent | 091b5fdbd802f60f2442dce3f9f85b8e81c948de (diff) | |
| download | emacs-da5d3a563fc8c8f4adfa5031c2baa8236100c35f.tar.gz emacs-da5d3a563fc8c8f4adfa5031c2baa8236100c35f.zip | |
(scroll-all-mode): Make argument optional. Add to doc string.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/scroll-all.el | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a940b813e9f..d4199273493 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2002-07-29 Glenn Morris <gmorris@ast.cam.ac.uk> | ||
| 2 | |||
| 3 | * scroll-all.el (scroll-all-mode): Make argument optional. Doc fix. | ||
| 4 | |||
| 1 | 2002-07-29 John Paul Wallington <jpw@shootybangbang.com> | 5 | 2002-07-29 John Paul Wallington <jpw@shootybangbang.com> |
| 2 | 6 | ||
| 3 | * scroll-all.el (scroll-all-mode): Handle numeric arg. Use `if' | 7 | * scroll-all.el (scroll-all-mode): Handle numeric arg. Use `if' |
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'." | |||
| 122 | 122 | ||
| 123 | 123 | ||
| 124 | ;;;###autoload | 124 | ;;;###autoload |
| 125 | (defun scroll-all-mode (arg) | 125 | (defun scroll-all-mode (&optional arg) |
| 126 | "Toggle Scroll-All minor mode." | 126 | "Toggle Scroll-All minor mode. |
| 127 | With ARG, turn Scroll-All minor mode on if ARG is positive, off otherwise. | ||
| 128 | When Scroll-All mode is on, scrolling commands entered in one window | ||
| 129 | apply to all visible windows in the same frame." | ||
| 127 | (interactive "P") | 130 | (interactive "P") |
| 128 | (setq scroll-all-mode | 131 | (setq scroll-all-mode |
| 129 | (if (null arg) (not scroll-all-mode) | 132 | (if (null arg) (not scroll-all-mode) |