mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-25 10:47:00 +00:00
* xdisp.c (display_text_line): If the newline (or C-m, in
selective-display) has a non-default face, apply that face to the remainder of the line, so that the fill occupies the entire line.
This commit is contained in:
parent
68a973351f
commit
3c5c35c53d
14
src/xdisp.c
14
src/xdisp.c
@ -1836,6 +1836,13 @@ display_text_line (w, start, vpos, hpos, taboffset)
|
||||
copy_part_of_rope (p1prev, p1prev, invis_vector_contents,
|
||||
(p1 - p1prev), current_face);
|
||||
}
|
||||
#if 1
|
||||
/* Draw the face of the newline character as extending all the
|
||||
way to the end of the frame line. */
|
||||
if (current_face)
|
||||
while (p1 < endp)
|
||||
*p1++ = MAKE_GLYPH (' ', current_face);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
else if (c == '\t')
|
||||
@ -1862,6 +1869,13 @@ display_text_line (w, start, vpos, hpos, taboffset)
|
||||
copy_part_of_rope (p1prev, p1prev, invis_vector_contents,
|
||||
(p1 - p1prev), current_face);
|
||||
}
|
||||
#if 1
|
||||
/* Draw the face of the newline character as extending all the
|
||||
way to the end of the frame line. */
|
||||
if (current_face)
|
||||
while (p1 < endp)
|
||||
*p1++ = MAKE_GLYPH (' ', current_face);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
else if (dp != 0 && XTYPE (DISP_CHAR_VECTOR (dp, c)) == Lisp_Vector)
|
||||
|
Loading…
Reference in New Issue
Block a user