mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-30 17:22:17 -07:00
; * src/xdisp.c (display_line): Fix commentary (bug#80693).
This commit is contained in:
parent
a981517b72
commit
d3c72b8389
1 changed files with 5 additions and 7 deletions
12
src/xdisp.c
12
src/xdisp.c
|
|
@ -26643,13 +26643,11 @@ display_line (struct it *it, int cursor_vpos)
|
|||
|
||||
/* If the default face is remapped or the 'margin' face has a
|
||||
non-default background, and the window has display margins,
|
||||
and no glyphs were written yet to the margins on this screen
|
||||
line, fill the margin area so that the margins use the
|
||||
correct background. Placed here, after the if/else-if chain
|
||||
above, so it fires for all three truncation paths: TTY/no-fringe
|
||||
truncation glyph, GUI newline-overflow-into-fringe, and GUI
|
||||
regular truncation where the indicator is drawn as a fringe
|
||||
bitmap. */
|
||||
extend the face in the margin area so that the margins use
|
||||
the correct background. This handles all three truncation
|
||||
paths: TTY/no-fringe truncation glyph, GUI
|
||||
newline-overflow-into-fringe, and GUI regular truncation
|
||||
where the indicator is drawn as a fringe bitmap. */
|
||||
{
|
||||
int margin_face_id =
|
||||
lookup_basic_face (it->w, it->f, MARGIN_FACE_ID);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue