Fix display of indicate-empty-lines when line numbers are displayed
commitd4eddb08e505ff9b4d956f00f225e3baf0d15462
authorEli Zaretskii <eliz@gnu.org>
Fri, 23 Jun 2017 14:13:01 +0000 (23 17:13 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 23 Jun 2017 14:13:01 +0000 (23 17:13 +0300)
tree9b371636d3f457c439adff7923a857f08a873cc4
parent7277c0fca7dab9f1b311c3eba5c42fd17acc3593
Fix display of indicate-empty-lines when line numbers are displayed

* src/xdisp.c (row_text_area_empty): New function.
(display_line): Call row_text_area_empty to verify that a glyph
row's text area is devoid of any glyphs that came from a buffer or
a string.  This fixes a bug with empty-lines indication
disappearing when line numbers or line-prefix are displayed.
(display_line): Delete the argument FORCE; all callers changed.
Remove the condition for actually producing the glyphs for the
line number, as even if the number didn't change we need to
produce empty space.
src/xdisp.c