]> git.eshelyaron.com Git - emacs.git/commit
Prevent display corruption when display-line-numbers is set
authorEli Zaretskii <eliz@gnu.org>
Fri, 14 Jul 2017 07:53:36 +0000 (10:53 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 14 Jul 2017 07:53:36 +0000 (10:53 +0300)
commit6fa3176ccae2bd8dcf082b80063c4e2148f5e8fd
tree8a91551558f19a4298caf1b1ad3ede6aa36bf188
parent5c9b6e901ca97895c6224f32f1a9ca4a7d565b65
Prevent display corruption when display-line-numbers is set

* src/xdisp.c (try_window_reusing_current_matrix): If giving up
due to display-line-numbers, clear the window's desired glyph
matrix before returning, as the following call to try_window will
call display_line, which expects rows of the desired matrix
cleared.  (Bug#27668)
src/xdisp.c