bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Drew Adams
Subject: bug#36494: 27.0.50; [Proposition] New option to scroll up regardless of eob
Date: Thu, 4 Jul 2019 15:28:22 -0700 (PDT)

> > (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).

Exactly.  (I use the above also with old Emacs releases,
and didn't bother to define a named command for it.)





reply via email to

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