Subject: bug#36494: 27.0.50; [Proposition] New option to scroll up regardless of eob

From: Noam Postavsky <[email-masked]>
Date: Thu, 04 Jul 2019 14:59:46 -0400

Drew Adams <[email-masked]> writes:

> (global-set-key [S-down] (lambda () (interactive) (scroll-up   1)))
> (global-set-key [S-up]   (lambda () (interactive) (scroll-down 1)))
>
> (But named functions are better than anonymous ones, for key binding.
> And yes, it would be good to let a numeric prefix arg scroll that
> many lines.)

I think you're looking for scroll-up-line and scroll-down-line
(introduced in 24.1).