815 |
|
|
816 |
if (!NILP (ind)) |
if (!NILP (ind)) |
817 |
{ |
{ |
818 |
int do_eob = 1, do_bob = 1; |
int done_top = 0, done_bot = 0; |
819 |
|
|
820 |
for (y = 0, rn = 0; |
for (y = 0, rn = 0; |
821 |
y < yb && rn < nrows; |
y < yb && rn < nrows; |
836 |
row->indicate_bob_p = row->indicate_top_line_p = 0; |
row->indicate_bob_p = row->indicate_top_line_p = 0; |
837 |
row->indicate_eob_p = row->indicate_bottom_line_p = 0; |
row->indicate_eob_p = row->indicate_bottom_line_p = 0; |
838 |
|
|
839 |
if (!NILP (boundary_top) |
if (!row->mode_line_p) |
840 |
&& MATRIX_ROW_START_CHARPOS (row) <= BUF_BEGV (XBUFFER (w->buffer))) |
{ |
841 |
row->indicate_bob_p = do_bob, do_bob = 0; |
if (!done_top) |
842 |
else if (!NILP (arrow_top) |
{ |
843 |
&& (WINDOW_WANTS_HEADER_LINE_P (w) ? 1 : 0) == rn) |
if (MATRIX_ROW_START_CHARPOS (row) <= BUF_BEGV (XBUFFER (w->buffer))) |
844 |
row->indicate_top_line_p = 1; |
row->indicate_bob_p = !NILP (boundary_top); |
845 |
|
else |
846 |
if (!NILP (boundary_bot) |
row->indicate_top_line_p = !NILP (arrow_top); |
847 |
&& MATRIX_ROW_END_CHARPOS (row) >= BUF_ZV (XBUFFER (w->buffer))) |
done_top = 1; |
848 |
row->indicate_eob_p = do_eob, do_eob = 0; |
} |
849 |
else if (!NILP (arrow_bot) |
|
850 |
&& y + row->height >= yb) |
if (!done_bot) |
851 |
row->indicate_bottom_line_p = 1; |
{ |
852 |
|
if (MATRIX_ROW_END_CHARPOS (row) >= BUF_ZV (XBUFFER (w->buffer))) |
853 |
|
row->indicate_eob_p = !NILP (boundary_bot), done_bot = 1; |
854 |
|
else if (y + row->height >= yb) |
855 |
|
row->indicate_bottom_line_p = !NILP (arrow_bot), done_bot = 1; |
856 |
|
} |
857 |
|
} |
858 |
|
|
859 |
if (indicate_bob_p != row->indicate_bob_p |
if (indicate_bob_p != row->indicate_bob_p |
860 |
|| indicate_top_line_p != row->indicate_top_line_p |
|| indicate_top_line_p != row->indicate_top_line_p |
1353 |
|
|
1354 |
if (!NILP (face)) |
if (!NILP (face)) |
1355 |
{ |
{ |
1356 |
face_id = lookup_named_face (SELECTED_FRAME (), face, 'A'); |
face_id = lookup_named_face (SELECTED_FRAME (), face, 'A', 1); |
1357 |
if (face_id < 0) |
if (face_id < 0) |
1358 |
error ("No such face"); |
error ("No such face"); |
1359 |
} |
} |