mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(scroll-bar-maybe-set-window-start): Always set
window start, to ensure scroll bar position is updated.
This commit is contained in:
parent
e2504204dc
commit
9c005c6533
1 changed files with 3 additions and 1 deletions
|
|
@ -144,7 +144,9 @@ EVENT should be a scroll bar click or drag event."
|
|||
(1+ portion-start)))
|
||||
(if (or (> current-start next-portion-start)
|
||||
(< current-start portion-start))
|
||||
(set-window-start window portion-start)))))
|
||||
(set-window-start window portion-start)
|
||||
;; Always set window start, to ensure scroll bar position is updated.
|
||||
(set-window-start window current-start)))))
|
||||
|
||||
;; Scroll the window to the proper position for EVENT.
|
||||
(defun scroll-bar-drag-1 (event)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue