Fix extension of underline, overline, and strike-through attributes
* src/xdisp.c (extend_face_to_end_of_line): Don't return early if face attributes beyond background color and box are set, since that means these attributes need to be extended past the EOL.
This commit is contained in:
parent
9c00795007
commit
0abdb01be6
1 changed files with 3 additions and 0 deletions
|
@ -21624,6 +21624,9 @@ extend_face_to_end_of_line (struct it *it)
|
|||
if (FRAME_WINDOW_P (f)
|
||||
&& MATRIX_ROW_DISPLAYS_TEXT_P (it->glyph_row)
|
||||
&& face->box == FACE_NO_BOX
|
||||
&& face->underline == FACE_NO_UNDERLINE
|
||||
&& !face->overline_p
|
||||
&& !face->strike_through_p
|
||||
&& FACE_COLOR_TO_PIXEL (face->background, f) == FRAME_BACKGROUND_PIXEL (f)
|
||||
#ifdef HAVE_WINDOW_SYSTEM
|
||||
&& !face->stipple
|
||||
|
|
Loading…
Add table
Reference in a new issue