diff options
| author | Gerd Moellmann | 2000-12-23 19:23:24 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-12-23 19:23:24 +0000 |
| commit | aeb2b8fc29df43b11a199b16237da7fcc12b7480 (patch) | |
| tree | 6dbcc478031a7fdd191937314f39bbee40d8e372 /src | |
| parent | 31798cfeb56f322b0f3b08221a0bbb4379cb9ccf (diff) | |
| download | emacs-aeb2b8fc29df43b11a199b16237da7fcc12b7480.tar.gz emacs-aeb2b8fc29df43b11a199b16237da7fcc12b7480.zip | |
(init_from_display_pos): Pop until the iterator's
stack is empty; there may be frames for stretch or images
on the stack.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/xdisp.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 655b1312d65..c8ff93a44dc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2000-12-23 Gerd Moellmann <gerd@gnu.org> | 1 | 2000-12-23 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * xdisp.c (init_from_display_pos): Pop until the iterator's | ||
| 4 | stack is empty; there may be frames for stretch or images | ||
| 5 | on the stack. | ||
| 6 | |||
| 3 | * dispnew.c (save_frame_matrix, restore_frame_matrix): Removed. | 7 | * dispnew.c (save_frame_matrix, restore_frame_matrix): Removed. |
| 4 | (save_or_restore_current_matrix): New function for the same | 8 | (save_or_restore_current_matrix): New function for the same |
| 5 | purpose, but more efficient. | 9 | purpose, but more efficient. |
diff --git a/src/xdisp.c b/src/xdisp.c index e4a237940d2..708c5f170cb 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -1765,7 +1765,8 @@ init_from_display_pos (it, w, pos) | |||
| 1765 | POS, make sure to pop the iterator because it will be in | 1765 | POS, make sure to pop the iterator because it will be in |
| 1766 | front of that overlay string. When POS is ZV, we've thereby | 1766 | front of that overlay string. When POS is ZV, we've thereby |
| 1767 | also ``processed'' overlay strings at ZV. */ | 1767 | also ``processed'' overlay strings at ZV. */ |
| 1768 | pop_it (it); | 1768 | while (it->sp) |
| 1769 | pop_it (it); | ||
| 1769 | it->current.overlay_string_index = -1; | 1770 | it->current.overlay_string_index = -1; |
| 1770 | it->method = next_element_from_buffer; | 1771 | it->method = next_element_from_buffer; |
| 1771 | if (CHARPOS (pos->pos) == ZV) | 1772 | if (CHARPOS (pos->pos) == ZV) |