[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 0abdb01: Fix extension of underline, overline, and strike-through
From: |
Eli Zaretskii |
Subject: |
master 0abdb01: Fix extension of underline, overline, and strike-through attributes |
Date: |
Mon, 23 Dec 2019 08:34:55 -0500 (EST) |
branch: master
commit 0abdb01be6c1adee1f179b1d5f7a9fb4ee670109
Author: Jimmy Aguilar Mena <address@hidden>
Commit: Eli Zaretskii <address@hidden>
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.
---
src/xdisp.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/xdisp.c b/src/xdisp.c
index 2dfc4cb..3080f89 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 0abdb01: Fix extension of underline, overline, and strike-through attributes,
Eli Zaretskii <=