# HG changeset patch # User Geoff Voelker # Date 873229193 0 # Node ID af32e336d12cebb3cfa05557fbd411d34e87f16f # Parent 9bf29ac182b4e027d5030068b88c4dc003ff59d0 (scroll-bar-maybe-set-window-start): Change window if current start is equal to start of next portion. diff -r 9bf29ac182b4 -r af32e336d12c lisp/scroll-bar.el --- a/lisp/scroll-bar.el Tue Sep 02 19:39:35 1997 +0000 +++ b/lisp/scroll-bar.el Tue Sep 02 19:39:53 1997 +0000 @@ -186,7 +186,7 @@ (setq next-portion-start (max (scroll-bar-drag-position next-portion-whole) (1+ portion-start))) - (if (or (> current-start next-portion-start) + (if (or (>= current-start next-portion-start) (< current-start portion-start)) (set-window-start window portion-start) ;; Always set window start, to ensure scroll bar position is updated.