Commit d782c348 authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(move_it_vertically_backward): Eliminate two xasserts.

I think those asserts are bogus if buffer contains invisible text
or images.
parent 0dd5a842
......@@ -6318,7 +6318,11 @@ move_it_vertically_backward (it, dy)
value of nlines is > 0 if continuation lines were involved. */
if (nlines > 0)
move_it_by_lines (it, nlines, 1);
#if 0
/* I think this assert is bogus if buffer contains
invisible text or images. KFS. */
xassert (IT_CHARPOS (*it) <= start_pos);
#endif
}
else
{
......@@ -6367,7 +6371,11 @@ move_it_vertically_backward (it, dy)
while (target_y >= line_bottom_y (it) && IT_CHARPOS (*it) < ZV);
}
 
#if 0
/* I think this assert is bogus if buffer contains
invisible text or images. KFS. */
xassert (IT_CHARPOS (*it) >= BEGV);
#endif
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment