Subject: Re: bug#20236: 25.0.50; Feature Request: scroll-other-window does not allow setting of scroll function

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 03 Dec 2021 17:05:42 +0100

Juri Linkov <[email-masked]> writes:

> Oh, wait a sec.  Maybe remapping is sufficient.
>
> And indeed, everything is achievable with just:
>
>   (with-eval-after-load 'follow
>     (define-key follow-mode-map [remap scroll-up-command] #'follow-scroll-up)
>     (define-key follow-mode-map [remap scroll-down-command] #'follow-scroll-down)

Hm...  perhaps scroll-other-window could look into that other window and
see whether scroll-{up,down}-command is remapped there, and then use
that function?  Then we wouldn't have to introduce anything new, really.
(But just fix the keymaps in affected modes.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no