Skip to content

Commit db18863

Browse files
committed
Ensure once after enabled
1 parent eb560bb commit db18863

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

auto-scroll-bar.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ and SHOW-H."
149149
(toggle-scroll-bar 1)
150150
(when auto-scroll-bar-horizontal (toggle-horizontal-scroll-bar 1))
151151
(when auto-scroll-bar-hide-minibuffer
152-
(auto-scroll-bar--update (minibuffer-window) nil nil t)))
152+
(auto-scroll-bar--update (minibuffer-window) nil nil t))
153+
(auto-scroll-bar--change)) ; execute once
153154

154155
(defun auto-scroll-bar--disable ()
155156
"Disable function `auto-scroll-bar-mode'."

0 commit comments

Comments
 (0)