From 527d43c2bab3846a92b037c8e3370d12154b3cee Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Tue, 1 Mar 2005 23:21:52 +0000 Subject: [PATCH] (redisplay_window): YABX (yet another bogus xassert). Reported by David Kastrup. --- src/xdisp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xdisp.c b/src/xdisp.c index 613f6f09b44..71fca1b5eec 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -12286,7 +12286,11 @@ redisplay_window (window, just_this_one_p) { init_iterator (&it, w, PT, PT_BYTE, NULL, DEFAULT_FACE_ID); move_it_vertically_backward (&it, 0); +#if 0 + /* I think this assert is bogus if buffer contains + invisible text or images. KFS. */ xassert (IT_CHARPOS (it) <= PT); +#endif it.current_y = 0; } -- 2.39.2