summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-12-09 09:18:04 +0200
committerEli Zaretskii <eliz@gnu.org>2021-12-09 09:18:04 +0200
commit35a96139df1f4f4a826bdb89fd0c89e1e64ec20b (patch)
tree7782dc1230fa796c88e4adaa513b03cdae086ea9 /src
parent6ba2f028cfa8f6a3a0deb399e9826d91bd724390 (diff)
downloademacs-35a96139df1f4f4a826bdb89fd0c89e1e64ec20b.tar.gz
Clarify a comment in xdisp.c
* src/xdisp.c (compute_window_start_on_continuation_line): Clarify a comment. (Bug#52378)
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 527a79b38da..5d687e1c291 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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)