emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ba004ac 1/2: Merge from origin/emacs-27


From: Michael Albinus
Subject: master ba004ac 1/2: Merge from origin/emacs-27
Date: Wed, 25 Nov 2020 06:01:39 -0500 (EST)

branch: master
commit ba004ac7ddcb41013c823ce6d98875f7a2e69721
Merge: 3b74059 f425a77
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    Merge from origin/emacs-27
    
    f425a774c2 Fix display artifacts when 'display' properties cover newl...
---
 src/xdisp.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/xdisp.c b/src/xdisp.c
index e49cc43..76ef420 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -1796,6 +1796,7 @@ pos_visible_p (struct window *w, ptrdiff_t charpos, int 
*x, int *y,
                     from a display vector, we need to consume all of
                     the glyphs from that display vector.  */
                  start_display (&it2, w, top);
+                 it2.glyph_row = NULL;
                  move_it_to (&it2, charpos - 1, -1, -1, -1, MOVE_TO_POS);
                  /* If we didn't get to CHARPOS - 1, there's some
                     replacing display property at that position, and
@@ -1919,6 +1920,7 @@ pos_visible_p (struct window *w, ptrdiff_t charpos, int 
*x, int *y,
                     of the display line where the display string
                     begins.  */
                  start_display (&it3, w, top);
+                 it3.glyph_row = NULL;
                  move_it_to (&it3, -1, 0, top_y, -1, MOVE_TO_X | MOVE_TO_Y);
                  /* If it3_moved stays false after the 'while' loop
                     below, that means we already were at a newline



reply via email to

[Prev in Thread] Current Thread [Next in Thread]