From faa9b06b486c2d87c304bc006d20604f9f937a40 Mon Sep 17 00:00:00 2001 From: Jimmy Aguilar Mena Date: Sat, 12 Oct 2019 19:51:46 +0200 Subject: [PATCH] Call handle_face_prop_general to extend face. * src/xdisp.c (extend_face_to_end_of_line): Added a call to handle_face_prop_general to extend face after EOL according to parameter :extend in the faces. --- src/xdisp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 1eec08d951d..518d823ca9a 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -21598,12 +21598,14 @@ extend_face_to_end_of_line (struct it *it) || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0)) return; - /* Face extension extends the background and box of IT->face_id + handle_face_prop_general (it, LFACE_EXTEND_INDEX); + + /* Face extension extends the background and box of IT->extend_face_id to the end of the line. If the background equals the background of the frame, we don't have to do anything. */ face = FACE_FROM_ID (f, (it->face_before_selective_p ? it->saved_face_id - : it->face_id)); + : it->extend_face_id)); if (FRAME_WINDOW_P (f) && MATRIX_ROW_DISPLAYS_TEXT_P (it->glyph_row) -- 2.39.5