From 5e5bc0c0bcca5e7d33cc5f533d43db31d3856706 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 22 Mar 2022 23:40:08 +0100 Subject: [PATCH] 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 51df594a443..cddf0111873 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 8f92b46afd6..aed698d2a37 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 (); -- 2.39.5