# HG changeset patch # User Kim F. Storm # Date 1108976464 0 # Node ID 63a82f5b98c6298dfbcfafd61905269c7811c494 # Parent 62817df1cfe7d181caba922ec3912c703b69b22e (move_it_vertically_backward): Eliminate two xasserts. I think those asserts are bogus if buffer contains invisible text or images. diff -r 62817df1cfe7 -r 63a82f5b98c6 src/xdisp.c --- a/src/xdisp.c Mon Feb 21 09:00:43 2005 +0000 +++ b/src/xdisp.c Mon Feb 21 09:01:04 2005 +0000 @@ -6318,7 +6318,11 @@ 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 @@ 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 } } }