Mercurial > emacs
changeset 27056:8cf3702104b5
(next_element_from_buffer): Change assertion at the end
because it doesn't hold when there's an overlay string at the end
from which we deliver an image.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 31 Dec 1999 15:34:21 +0000 |
parents | f43dabd831f2 |
children | d2d418d5a1c0 |
files | src/xdisp.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Fri Dec 31 15:04:57 1999 +0000 +++ b/src/xdisp.c Fri Dec 31 15:34:21 1999 +0000 @@ -3916,8 +3916,7 @@ else { it->overlay_strings_at_end_processed_p = 1; - overlay_strings_follow_p - = get_overlay_strings (it); + overlay_strings_follow_p = get_overlay_strings (it); } if (overlay_strings_follow_p) @@ -3994,7 +3993,7 @@ } /* Value is zero if end of buffer reached. */ - xassert (!success_p || it->len > 0); + xassert (!success_p || it->what != IT_CHARACTER || it->len > 0); return success_p; }