Skip to content

Commit

Permalink
fix: blink cursor rescans delete frame
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Jun 24, 2024
1 parent 1d70838 commit 48dfc8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auto-scroll-bar.el
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ Optional argument FRAME is used to select frame's minibuffer."
(defun auto-scroll-bar--enable ()
"Enable function `auto-scroll-bar-mode'."
(cond ((display-graphic-p)
(add-hook 'window-size-change-functions #'auto-scroll-bar--size-change)
(add-hook 'window-scroll-functions #'auto-scroll-bar--scroll)
(add-hook 'window-size-change-functions #'auto-scroll-bar--size-change 90)
(add-hook 'window-scroll-functions #'auto-scroll-bar--scroll 90)
(add-hook 'post-command-hook #'auto-scroll-bar--post-command 90)
(toggle-scroll-bar 1)
(when auto-scroll-bar-horizontal (toggle-horizontal-scroll-bar 1))
Expand Down

0 comments on commit 48dfc8f

Please sign in to comment.