mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-30 17:22:17 -07:00
Fill margins with 'margin' face on truncated screen lines
* src/xdisp.c (display_line): Remove the unnecessary condition that row->used of the margin areas is zero, for when we call 'extend_face_to_end_of_line'. (Bug#80693)
This commit is contained in:
parent
8e37499035
commit
a981517b72
1 changed files with 2 additions and 4 deletions
|
|
@ -26657,10 +26657,8 @@ display_line (struct it *it, int cursor_vpos)
|
|||
!= DEFAULT_FACE_ID
|
||||
|| FACE_FROM_ID (it->f, margin_face_id)->background
|
||||
!= FRAME_BACKGROUND_PIXEL (it->f))
|
||||
&& ((WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0
|
||||
&& it->glyph_row->used[LEFT_MARGIN_AREA] == 0)
|
||||
|| (WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0
|
||||
&& it->glyph_row->used[RIGHT_MARGIN_AREA] == 0)))
|
||||
&& (WINDOW_LEFT_MARGIN_WIDTH (it->w) > 0
|
||||
|| WINDOW_RIGHT_MARGIN_WIDTH (it->w) > 0))
|
||||
extend_face_to_end_of_line (it);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue