Skip to content

Commit

Permalink
Use straight window-end
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Jul 15, 2024
1 parent 571b11f commit 2e87add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto-scroll-bar.el
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ and SHOW-H."
(with-selected-window win
(if (auto-scroll-bar--disabled-p)
(auto-scroll-bar--update win nil nil)
(let* ((wend (window-end nil t))
(let* ((wend (window-end nil t))
(wstart (window-start))
(show-v (auto-scroll-bar--show-v-p wstart wend))
(show-h (auto-scroll-bar--show-h-p wstart wend)))
Expand Down

0 comments on commit 2e87add

Please sign in to comment.