Mercurial > emacs
diff src/xdisp.c @ 34851:452349a9192a
(init_from_display_pos): Pop until the iterator's
stack is empty; there may be frames for stretch or images
on the stack.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sat, 23 Dec 2000 19:23:02 +0000 |
parents | 67e70bac26c6 |
children | 9ccc4efae7d4 |
line wrap: on
line diff
--- a/src/xdisp.c Sat Dec 23 17:22:45 2000 +0000 +++ b/src/xdisp.c Sat Dec 23 19:23:02 2000 +0000 @@ -1765,7 +1765,8 @@ POS, make sure to pop the iterator because it will be in front of that overlay string. When POS is ZV, we've thereby also ``processed'' overlay strings at ZV. */ - pop_it (it); + while (it->sp) + pop_it (it); it->current.overlay_string_index = -1; it->method = next_element_from_buffer; if (CHARPOS (pos->pos) == ZV)