diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-08-19 16:48:59 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-08-19 16:48:59 -0700 |
commit | 07fcbb558d797272b9f43547da60beda485873a3 (patch) | |
tree | 77d5da14e9f9d9d8b1d877c70c01296fd3893796 /lisp/scroll-all.el | |
parent | c9bdeff3e45a7ac84a74a81bb048046f82dddc91 (diff) | |
parent | fb81c8c3adf8633f2f617c82f6019aef630860c7 (diff) | |
download | emacs-07fcbb558d797272b9f43547da60beda485873a3.tar.gz |
Merge remote-tracking branch 'origin/master' into athena/unstable
Diffstat (limited to 'lisp/scroll-all.el')
-rw-r--r-- | lisp/scroll-all.el | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/lisp/scroll-all.el b/lisp/scroll-all.el index 25b245e4b63..415244f9e92 100644 --- a/lisp/scroll-all.el +++ b/lisp/scroll-all.el @@ -1,4 +1,4 @@ -;;; scroll-all.el --- scroll all buffers together minor mode +;;; scroll-all.el --- scroll all buffers together minor mode -*- lexical-binding: t -*- ;; Copyright (C) 1997, 2001-2021 Free Software Foundation, Inc. @@ -47,38 +47,41 @@ (condition-case nil (funcall func arg) ;; Ignore beginning- or end-of-buffer error in other windows. - (error nil) - ) + (error nil)) (other-window 1) (setq count (1+ count)))))) (defun scroll-all-scroll-down-all (arg) - "Scroll down in all visible windows." + "Scroll down ARG lines in all visible windows." (interactive "p") (scroll-all-function-all 'next-line arg)) (defun scroll-all-scroll-up-all (arg) - "Scroll up in all visible windows." + "Scroll up ARG lines in all visible windows." (interactive "p") (scroll-all-function-all 'previous-line arg)) (defun scroll-all-page-down-all (arg) - "Page down in all visible windows." + "Page down in all visible windows. +ARG is like in `scroll-up'." (interactive "P") (scroll-all-function-all 'scroll-up arg)) (defun scroll-all-page-up-all (arg) - "Page up in all visible windows." + "Page up in all visible windows. +ARG is like in `scroll-down'." (interactive "P") (scroll-all-function-all 'scroll-down arg)) (defun scroll-all-beginning-of-buffer-all (arg) - "Go to the beginning of the buffer in all visible windows." + "Go to the beginning of the buffer in all visible windows. +ARG is like in `beginning-of-buffer'." (interactive "P") (scroll-all-function-all 'beginning-of-buffer arg)) (defun scroll-all-end-of-buffer-all (arg) - "Go to the end of the buffer in all visible windows." + "Go to the end of the buffer in all visible windows. +ARG is like in `end-of-buffer'." (interactive "P") (scroll-all-function-all 'end-of-buffer arg)) @@ -105,7 +108,7 @@ When Scroll-All mode is enabled, scrolling commands invoked in one window apply to all visible windows in the same frame." - nil " *SL*" nil + :lighter " *SL*" :global t :group 'windows (if scroll-all-mode |