]> git.eshelyaron.com Git - emacs.git/commit
Avoid assertion violations when line numbers are displayed
authorEli Zaretskii <eliz@gnu.org>
Mon, 9 Oct 2017 12:28:16 +0000 (15:28 +0300)
committerEli Zaretskii <eliz@gnu.org>
Mon, 9 Oct 2017 12:28:16 +0000 (15:28 +0300)
commit2da83c9d3630702ed10f54e890709d1afdb6585f
treeb09ab943f588e188083e448db868554a6bbf87ff
parent5b81f65ad0050a4bbd79c9aed3648fba4f19af27
Avoid assertion violations when line numbers are displayed

* src/xdisp.c (redisplay_window): Clear the window's desired glyph
matrix before calling try_window with the same starting point.
This avoids assertion violations when switching from a buffer
without line numbers to a buffer with line numbers.  (Bug28710)
src/xdisp.c