emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 5e5bc0c0bc: Mention the other-window-scroll-default user option


From: Lars Ingebrigtsen
Subject: master 5e5bc0c0bc: Mention the other-window-scroll-default user option
Date: Tue, 22 Mar 2022 18:40:24 -0400 (EDT)

branch: master
commit 5e5bc0c0bcca5e7d33cc5f533d43db31d3856706
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Mention the other-window-scroll-default user option
    
    * src/window.c (Fscroll_other_window): Link to
    other-window-scroll-default in the doc string.
---
 etc/NEWS     | 4 +++-
 src/window.c | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index 51df594a44..cddf011187 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -426,7 +426,9 @@ For example, a 'display-buffer-alist' entry of
 will make the body of the chosen window 40 columns wide.  For the
 height use 'window-height' in combination with 'body-lines'.
 
-*** 'other-window-scroll-default' can define the other window to scroll.
+---
+*** You can customize which window 'scroll-other-window' operates on.
+This is controlled by the new 'other-window-scroll-default' user option.
 
 ** Frames
 
diff --git a/src/window.c b/src/window.c
index 8f92b46afd..aed698d2a3 100644
--- a/src/window.c
+++ b/src/window.c
@@ -6334,7 +6334,9 @@ as argument a number, nil, or `-'.
 The next window is usually the one below the current one;
 or the one at the top if the current one is at the bottom.
 It is determined by the function `other-window-for-scrolling',
-which see.  */)
+which see.
+
+Also see the `other-window-scroll-default' variable.  */)
   (Lisp_Object arg)
 {
   specpdl_ref count = SPECPDL_INDEX ();



reply via email to

[Prev in Thread] Current Thread [Next in Thread]