mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-24 13:57:36 +00:00
Remove an incorrect assertion on move_it_by_lines.
src/xdisp.c (move_it_by_lines): Remove the assertion that "it->current_x == 0 && it->hpos == 0" which can be legitimately violated when there's a before-string at the beginning of a line. (Bug#11063)
This commit is contained in:
parent
50fe197c68
commit
697ba24bbf
2 changed files with 4 additions and 1 deletions
|
|
@ -4,6 +4,10 @@
|
|||
string comes from a `display' text property, use the buffer
|
||||
position of that property as if we actually saw that position in
|
||||
the row's glyphs.
|
||||
(move_it_by_lines): Remove the assertion that
|
||||
"it->current_x == 0 && it->hpos == 0" which can be legitimately
|
||||
violated when there's a before-string at the beginning of a line.
|
||||
(Bug#11063)
|
||||
|
||||
2012-03-30 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
|
|
|
|||
|
|
@ -8966,7 +8966,6 @@ move_it_by_lines (struct it *it, int dvpos)
|
|||
{
|
||||
/* DVPOS == 0 means move to the start of the screen line. */
|
||||
move_it_vertically_backward (it, 0);
|
||||
xassert (it->current_x == 0 && it->hpos == 0);
|
||||
/* Let next call to line_bottom_y calculate real line height */
|
||||
last_height = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue