]> git.eshelyaron.com Git - emacs.git/commit
Fix subtle problem with scroll-down when scroll-margin is nonzero
authorEli Zaretskii <eliz@gnu.org>
Fri, 29 Dec 2017 21:41:20 +0000 (23:41 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 29 Dec 2017 21:41:20 +0000 (23:41 +0200)
commit0c78822c701533a94b010a043bcb049dd594bb93
treec789e5e604a42b12537c60e42017ef6a8cee8795
parentacd289c5a4d9679ec8051b330e7a8685d4fde20f
Fix subtle problem with scroll-down when scroll-margin is nonzero

* src/window.c (window_scroll_pixel_based): Account for
scroll-margin when scrolling down, i.e. moving window-start
towards the beginning of the buffer.  Reported by zhang cc
<ccsmile2008@outlook.com> in
http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00894.html.
src/window.c