projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0699f80
)
* src/xdisp.c (set_vertical_scroll_bar): Remove stale comment.
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 8 Jul 2022 06:48:44 +0000
(09:48 +0300)
committer
Gregory Heytings
<gregory@heytings.org>
Mon, 18 Jul 2022 20:51:25 +0000
(22:51 +0200)
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index ae6553d8760c520320fb39a0f640fefec29f69a8..05fb008ff1573a538d37774bc6c4ccca66bfdb88 100644
(file)
--- 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)