diff options
| author | Jimmy Aguilar Mena | 2019-05-05 16:14:34 +0200 |
|---|---|---|
| committer | Jimmy Aguilar Mena | 2019-05-05 16:59:25 +0200 |
| commit | cca81f22d972f4bfc953534104e9e72da421f51e (patch) | |
| tree | bd03de18056f37ce1da42b46a792739909202856 /src | |
| parent | a336300ccf024824fbf50298623e04f369952670 (diff) | |
| download | emacs-cca81f22d972f4bfc953534104e9e72da421f51e.tar.gz emacs-cca81f22d972f4bfc953534104e9e72da421f51e.zip | |
Fixed fill-column-indicator face removing background.
*lisp/faces.el: Removed background in default fill-column-indicator
face.
*src/xdisp.c: fill-column-indicator face merged with saved face.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 17827481447..a8604d58af7 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -20201,7 +20201,7 @@ append_space_for_newline (struct it *it, bool default_face_p) | |||
| 20201 | XFIXNAT (Vdisplay_fill_column_indicator_character); | 20201 | XFIXNAT (Vdisplay_fill_column_indicator_character); |
| 20202 | it->face_id = | 20202 | it->face_id = |
| 20203 | merge_faces (it->w, Qfill_column_indicator, | 20203 | merge_faces (it->w, Qfill_column_indicator, |
| 20204 | 0, DEFAULT_FACE_ID); | 20204 | 0, saved_face_id); |
| 20205 | face = FACE_FROM_ID(it->f, it->face_id); | 20205 | face = FACE_FROM_ID(it->f, it->face_id); |
| 20206 | goto produce_glyphs; | 20206 | goto produce_glyphs; |
| 20207 | } | 20207 | } |
| @@ -20494,7 +20494,7 @@ extend_face_to_end_of_line (struct it *it) | |||
| 20494 | XFIXNAT (Vdisplay_fill_column_indicator_character); | 20494 | XFIXNAT (Vdisplay_fill_column_indicator_character); |
| 20495 | it->face_id = | 20495 | it->face_id = |
| 20496 | merge_faces (it->w, Qfill_column_indicator, | 20496 | merge_faces (it->w, Qfill_column_indicator, |
| 20497 | 0, DEFAULT_FACE_ID); | 20497 | 0, saved_face_id); |
| 20498 | PRODUCE_GLYPHS (it); | 20498 | PRODUCE_GLYPHS (it); |
| 20499 | } | 20499 | } |
| 20500 | 20500 | ||
| @@ -20656,13 +20656,13 @@ extend_face_to_end_of_line (struct it *it) | |||
| 20656 | { | 20656 | { |
| 20657 | if (it->current_x == fill_column_indicator_column) | 20657 | if (it->current_x == fill_column_indicator_column) |
| 20658 | { | 20658 | { |
| 20659 | const int saved_face = it->face_id; | 20659 | const int saved_face_id = it->face_id; |
| 20660 | it->face_id = | 20660 | it->face_id = |
| 20661 | merge_faces (it->w, Qfill_column_indicator, 0, DEFAULT_FACE_ID); | 20661 | merge_faces (it->w, Qfill_column_indicator, 0, saved_face_id); |
| 20662 | it->c = it->char_to_display = | 20662 | it->c = it->char_to_display = |
| 20663 | XFIXNAT (Vdisplay_fill_column_indicator_character); | 20663 | XFIXNAT (Vdisplay_fill_column_indicator_character); |
| 20664 | PRODUCE_GLYPHS (it); | 20664 | PRODUCE_GLYPHS (it); |
| 20665 | it->face_id = saved_face; | 20665 | it->face_id = saved_face_id; |
| 20666 | it->c = it->char_to_display = ' '; | 20666 | it->c = it->char_to_display = ' '; |
| 20667 | } | 20667 | } |
| 20668 | else | 20668 | else |