]> git.eshelyaron.com Git - emacs.git/commit
Fix scrolling window when point moves up
authorShynur <one.last.kiss@outlook.com>
Wed, 29 Mar 2023 17:29:17 +0000 (01:29 +0800)
committerEli Zaretskii <eliz@gnu.org>
Thu, 30 Mar 2023 06:43:00 +0000 (09:43 +0300)
commit10918fc9d249fb829a363a4b73847289b8f2bce9
tree1ea2cfbdf1bebc81dfc35092be43c54b46b0fa93
parent9b32bc134c4b4d8928df1bdc39907d9b1d6c73b5
Fix scrolling window when point moves up

This fixes the case when both 'scroll-conservatively' and
'scroll-step' are customized to non-default values.
* src/xdisp.c (try_scrolling): Fix precedence between
'scroll-step' and 'scroll-conservatively' when scrolling with
'previous-line'.  (Bug#62530)

Copyright-paperwork-exempt: yes
src/xdisp.c