]> git.eshelyaron.com Git - emacs.git/commitdiff
Call handle_face_prop_general to extend face.
authorJimmy Aguilar Mena <spacibba@aol.com>
Sat, 12 Oct 2019 17:51:46 +0000 (19:51 +0200)
committerJimmy Aguilar Mena <spacibba@aol.com>
Mon, 14 Oct 2019 12:18:40 +0000 (14:18 +0200)
* 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

index 1eec08d951d8aa9e74c938ed42f7e6704e8df3f8..518d823ca9a10bb2de4b0d0c31b3896af7740fd0 100644 (file)
@@ -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)