]> git.eshelyaron.com Git - emacs.git/commitdiff
Clarify a comment in xdisp.c
authorEli Zaretskii <eliz@gnu.org>
Thu, 9 Dec 2021 07:18:04 +0000 (09:18 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 9 Dec 2021 07:18:04 +0000 (09:18 +0200)
* src/xdisp.c (compute_window_start_on_continuation_line): Clarify
a comment.  (Bug#52378)

src/xdisp.c

index 527a79b38da5fdde1791b05e28546210cd93177c..5d687e1c29164070eb3a51e6762c603252c6ed85 100644 (file)
@@ -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)