aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xdisp.c3
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 @@
12000-12-23 Gerd Moellmann <gerd@gnu.org> 12000-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)