From: Kim F. Storm Date: Tue, 1 Mar 2005 23:21:52 +0000 (+0000) Subject: (redisplay_window): YABX (yet another bogus xassert). X-Git-Tag: ttn-vms-21-2-B4~2043 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=527d43c2bab3846a92b037c8e3370d12154b3cee;p=emacs.git (redisplay_window): YABX (yet another bogus xassert). Reported by David Kastrup. --- 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; }