diff --git a/src/xdisp.c b/src/xdisp.c index ca8fa5dffee..c1d6fedb553 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -26643,13 +26643,11 @@ display_line (struct it *it, int cursor_vpos) /* If the default face is remapped or the 'margin' face has a non-default background, and the window has display margins, - and no glyphs were written yet to the margins on this screen - line, fill the margin area so that the margins use the - correct background. Placed here, after the if/else-if chain - above, so it fires for all three truncation paths: TTY/no-fringe - truncation glyph, GUI newline-overflow-into-fringe, and GUI - regular truncation where the indicator is drawn as a fringe - bitmap. */ + extend the face in the margin area so that the margins use + the correct background. This handles all three truncation + paths: TTY/no-fringe truncation glyph, GUI + newline-overflow-into-fringe, and GUI regular truncation + where the indicator is drawn as a fringe bitmap. */ { int margin_face_id = lookup_basic_face (it->w, it->f, MARGIN_FACE_ID);