1
0
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:
Jim Blandy 1993-05-19 03:27:53 +00:00
parent 68a973351f
commit 3c5c35c53d

View File

@ -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)