Rewrite scroll-other-window-down in C (bug#30207)
authorBasil L. Contovounesios <contovob@tcd.ie>
Tue, 1 May 2018 12:48:30 +0000 (13:48 +0100)
committerNoam Postavsky <npostavs@gmail.com>
Thu, 10 May 2018 23:04:11 +0000 (19:04 -0400)
commiteabb6f6c3ee75dac1a7510e80bdd3c2fcfbbbcb5
tree01437a50671e79777b46d11f2638ffa63790ef0b
parentae92f52c75383cf8f332db184d91f10fa8fb67cb
Rewrite scroll-other-window-down in C (bug#30207)

* lisp/window.el (scroll-other-window-down):
Move to src/window.c as Fscroll_other_window_down.
* src/window.c (scroll_command): Generalise for arbitrary windows.
(Fscroll_up, Fscroll_down): Use scroll_command with selected_window.
(Fscroll_other_window, Fscroll_other_window_down):
Rewrite in terms of scroll_command.
(syms_of_window): Add Sscroll_other_window_down.
lisp/window.el
src/window.c