File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -163,9 +163,7 @@ and SHOW-H."
163163 (with-selected-window win
164164 (if (auto-scroll-bar--disabled-p)
165165 (auto-scroll-bar--update win nil nil )
166- (let* ((wend (or (window-parameter nil 'window-end )
167- (set-window-parameter nil 'window-end
168- (window-end nil t ))))
166+ (let* ((wend (window-end nil t ))
169167 (wstart (window-start ))
170168 (show-v (auto-scroll-bar--show-v-p wstart wend))
171169 (show-h (auto-scroll-bar--show-h-p wstart wend)))
@@ -189,7 +187,7 @@ Optional argument FRAME is used to select frame's minibuffer."
189187(defun auto-scroll-bar--size-change (&optional frame &rest _ )
190188 " Show/Hide all visible windows in FRAME."
191189 (elenv-with-no-redisplay
192- (dolist (win (window-list frame ))
190+ (dolist (win (get-buffer- window-list ))
193191 (auto-scroll-bar--show-hide win))))
194192
195193(defun auto-scroll-bar--scroll (&optional window &rest _ )
You can’t perform that action at this time.
0 commit comments