]> git.eshelyaron.com Git - emacs.git/commit
Fix infloop in redisplay due to truncated lines and invisible text
authorEli Zaretskii <eliz@gnu.org>
Sat, 8 Oct 2016 07:52:52 +0000 (10:52 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 8 Oct 2016 07:52:52 +0000 (10:52 +0300)
commit3566644a332f42c2fb68e93f04f2cec92917fcc9
tree75e41ae9eaee772fd9f1e0fedf14983266183eb5
parenta6e0a6770129e612398c8db98cd214586dc250f4
Fix infloop in redisplay due to truncated lines and invisible text

* src/xdisp.c (forward_to_next_line_start): Don't call
'get_next_display_element' after finding the end of line.  This
avoids setting the row's end position to the wrong value when the
next screen line begins with invisible text; that wrong value
caused set_cursor_from_row position the cursor in the wrong screen
line, and eventually triggered bug#24109.
src/xdisp.c