emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 35a9613: Clarify a comment in xdisp.c


From: Eli Zaretskii
Subject: emacs-28 35a9613: Clarify a comment in xdisp.c
Date: Thu, 9 Dec 2021 02:19:15 -0500 (EST)

branch: emacs-28
commit 35a96139df1f4f4a826bdb89fd0c89e1e64ec20b
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    Clarify a comment in xdisp.c
    
    * src/xdisp.c (compute_window_start_on_continuation_line): Clarify
    a comment.  (Bug#52378)
---
 src/xdisp.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index 527a79b..5d687e1 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]