aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm <[email protected]>2005-02-21 09:01:04 +0000
committerKim F. Storm <[email protected]>2005-02-21 09:01:04 +0000
commitd782c34829ed3aca9e4debb63b30568178407486 (patch)
tree79a672603bfeba32c2dd34eac19ecf1e17a93bf1 /src
parent0dd5a842d900d7f134252f1e88295f40c84de6ba (diff)
(move_it_vertically_backward): Eliminate two xasserts.
I think those asserts are bogus if buffer contains invisible text or images.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 85044a3713..eb1a7d75fc 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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
}
}
}