]> git.eshelyaron.com Git - emacs.git/commit
Avoid annoying re-scroll when buffer has many overlay strings
authorEli Zaretskii <eliz@gnu.org>
Thu, 11 Aug 2016 15:04:42 +0000 (18:04 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 11 Aug 2016 15:04:42 +0000 (18:04 +0300)
commit2e0a2b376f51dd515ffeb6449181cc37fe912f5e
treee361b41a4e6d68b0348dff45887cff7557bd69b8
parentcd3524061346dec4ec820c98b6ca8046eda290c3
Avoid annoying re-scroll when buffer has many overlay strings

* src/xdisp.c (redisplay_window): Add better recovery from a
situation where window-start is on buffer position which has a
before-string that includes newlines, with the result that point
is not visible in the window, because the display engine starts
displaying with the before-string.  (Bug#24179)
src/xdisp.c