@item fill-column-indicator
@vindex fill-column-indicator
Specifies the face used to display the indicator. It inherits its
-default values from shadow and the default face.
+default values from shadow but without background color. To change
+the indicator color you need to set only the foreground color of this face.
@end table
@vindex indicate-buffer-boundaries
;; Definition stolen from display-line-numbers.
(defface fill-column-indicator
- '((t :inherit (shadow default)))
+ '((t :inherit shadow :weight normal :slant normal
+ :underline nil :overline nil :strike-through nil
+ :box nil :invert-video nil :stipple nil))
"Face for displaying fill column indicator.
This face is used when `display-fill-column-indicator-mode' is
non-nil."
XFIXNAT (Vdisplay_fill_column_indicator_character);
it->face_id =
merge_faces (it->w, Qfill_column_indicator,
- 0, DEFAULT_FACE_ID);
+ 0, saved_face_id);
face = FACE_FROM_ID(it->f, it->face_id);
goto produce_glyphs;
}
XFIXNAT (Vdisplay_fill_column_indicator_character);
it->face_id =
merge_faces (it->w, Qfill_column_indicator,
- 0, DEFAULT_FACE_ID);
+ 0, saved_face_id);
PRODUCE_GLYPHS (it);
}
{
if (it->current_x == fill_column_indicator_column)
{
- const int saved_face = it->face_id;
+ const int saved_face_id = it->face_id;
it->face_id =
- merge_faces (it->w, Qfill_column_indicator, 0, DEFAULT_FACE_ID);
+ merge_faces (it->w, Qfill_column_indicator, 0, saved_face_id);
it->c = it->char_to_display =
XFIXNAT (Vdisplay_fill_column_indicator_character);
PRODUCE_GLYPHS (it);
- it->face_id = saved_face;
+ it->face_id = saved_face_id;
it->c = it->char_to_display = ' ';
}
else