emacs-diffs
[Top][All Lists]
Advanced

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

feature/fix-the-long-lines-display-bug 7dcea5a428 2/2: * src/xdisp.c (se


From: Gregory Heytings
Subject: feature/fix-the-long-lines-display-bug 7dcea5a428 2/2: * src/xdisp.c (set_vertical_scroll_bar): Remove stale comment.
Date: Mon, 18 Jul 2022 16:52:54 -0400 (EDT)

branch: feature/fix-the-long-lines-display-bug
commit 7dcea5a428178a3778ab3cbea166580c6992f187
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Gregory Heytings <gregory@heytings.org>

    * src/xdisp.c (set_vertical_scroll_bar): Remove stale comment.
---
 src/xdisp.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index ae6553d876..05fb008ff1 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -18942,8 +18942,6 @@ set_vertical_scroll_bar (struct window *w)
 
       whole = BUF_ZV (buf) - BUF_BEGV (buf);
       start = marker_position (w->start) - BUF_BEGV (buf);
-      /* I don't think this is guaranteed to be right.  For the
-        moment, we'll pretend it is.  */
       end = BUF_Z (buf) - window_end_pos - BUF_BEGV (buf);
 
       if (end < start)



reply via email to

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