diff options
| author | Jimmy Aguilar Mena | 2019-10-12 19:51:46 +0200 |
|---|---|---|
| committer | Jimmy Aguilar Mena | 2019-10-14 14:18:40 +0200 |
| commit | faa9b06b486c2d87c304bc006d20604f9f937a40 (patch) | |
| tree | 3eabdc2a9625c4a9ae88c0f89c85199a5bde219d | |
| parent | 42bbfd29e75686cb33207c753383d9664785f5c8 (diff) | |
| download | emacs-faa9b06b486c2d87c304bc006d20604f9f937a40.tar.gz emacs-faa9b06b486c2d87c304bc006d20604f9f937a40.zip | |
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.
| -rw-r--r-- | src/xdisp.c | 6 |
1 files 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) | |||
| 21598 | || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0)) | 21598 | || WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0)) |
| 21599 | return; | 21599 | return; |
| 21600 | 21600 | ||
| 21601 | /* Face extension extends the background and box of IT->face_id | 21601 | handle_face_prop_general (it, LFACE_EXTEND_INDEX); |
| 21602 | |||
| 21603 | /* Face extension extends the background and box of IT->extend_face_id | ||
| 21602 | to the end of the line. If the background equals the background | 21604 | to the end of the line. If the background equals the background |
| 21603 | of the frame, we don't have to do anything. */ | 21605 | of the frame, we don't have to do anything. */ |
| 21604 | face = FACE_FROM_ID (f, (it->face_before_selective_p | 21606 | face = FACE_FROM_ID (f, (it->face_before_selective_p |
| 21605 | ? it->saved_face_id | 21607 | ? it->saved_face_id |
| 21606 | : it->face_id)); | 21608 | : it->extend_face_id)); |
| 21607 | 21609 | ||
| 21608 | if (FRAME_WINDOW_P (f) | 21610 | if (FRAME_WINDOW_P (f) |
| 21609 | && MATRIX_ROW_DISPLAYS_TEXT_P (it->glyph_row) | 21611 | && MATRIX_ROW_DISPLAYS_TEXT_P (it->glyph_row) |