Clarify a comment in xdisp.c
* src/xdisp.c (compute_window_start_on_continuation_line): Clarify a comment. (Bug#52378)
This commit is contained in:
parent
6ba2f028cf
commit
35a96139df
1 changed files with 5 additions and 4 deletions
|
@ -17798,10 +17798,11 @@ compute_window_start_on_continuation_line (struct window *w)
|
|||
row, DEFAULT_FACE_ID);
|
||||
reseat_at_previous_visible_line_start (&it);
|
||||
|
||||
/* If the line start is "too far" away from the window start,
|
||||
say it takes too much time to compute a new window start.
|
||||
Also, give up if the line start is after point, as in that
|
||||
case point will not be visible with any window start we
|
||||
/* Give up (by not using the code in the block below) and say it
|
||||
takes too much time to compute a new window start, if the
|
||||
line start is "too far" away from the window start. Also,
|
||||
give up if the line start is after point, as in that case
|
||||
point will not be visible with any window start we
|
||||
compute. */
|
||||
if (IT_CHARPOS (it) <= PT
|
||||
|| (CHARPOS (start_pos) - IT_CHARPOS (it)
|
||||
|
|
Loading…
Add table
Reference in a new issue