changeset 19683:af32e336d12c

(scroll-bar-maybe-set-window-start): Change window if current start is equal to start of next portion.
author Geoff Voelker <voelker@cs.washington.edu>
date Tue, 02 Sep 1997 19:39:53 +0000
parents 9bf29ac182b4
children d5378da3dd73
files lisp/scroll-bar.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.