]> git.eshelyaron.com Git - emacs.git/commit
Avoid infloop when scrolling under scroll-preserve-screen-position
authorEli Zaretskii <eliz@gnu.org>
Sat, 9 Sep 2017 14:20:47 +0000 (17:20 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 9 Sep 2017 14:20:47 +0000 (17:20 +0300)
commitd1da8e534db54bb82b6f2b16bba86a6d202ac675
treecbfe991cd0d77833a3a2a6b96eeefc34412adfce
parentaf11532bb5f5ff8229b84c3ab6888069764bbddf
Avoid infloop when scrolling under scroll-preserve-screen-position

* src/window.c (window_scroll_pixel_based): If screen position is
to be preserved, make sure its recorded Y coordinate is outside
the scroll margin.  (Bug#28342)
src/window.c