]> git.eshelyaron.com Git - emacs.git/commit
Avoid assertion violations in 'back_to_previous_visible_line_start'
authorEli Zaretskii <eliz@gnu.org>
Fri, 5 Aug 2022 12:53:06 +0000 (15:53 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 5 Aug 2022 12:53:06 +0000 (15:53 +0300)
commitaff596127476c0fbcb11ccbbce63f32d03785653
treeab38e91954962467fc1200f2080e36edd52a320d
parent900b09c0235d54d56ef5e88d04cca61bc71cbbb7
Avoid assertion violations in 'back_to_previous_visible_line_start'

* src/xdisp.c (init_iterator): Always initialize narrowed_begv to
zero, since SET_WITH_NARROWED_BEGV depends on it being non-zero as
an indication that long-line optimizations are in use.
(back_to_previous_visible_line_start): When long-line
optimizations are in effect, we may end up not on a newline.
src/xdisp.c