# HG changeset patch # User Gerd Moellmann # Date 977599382 0 # Node ID 452349a9192a99e46480787a3963140d9a9baf43 # Parent 70de0a250cc970a507986b3bf171018a9ade0cb1 (init_from_display_pos): Pop until the iterator's stack is empty; there may be frames for stretch or images on the stack. diff -r 70de0a250cc9 -r 452349a9192a src/xdisp.c --- 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)