]> git.eshelyaron.com Git - emacs.git/commitdiff
(scroll-bar-maybe-set-window-start): Change window
authorGeoff Voelker <voelker@cs.washington.edu>
Tue, 2 Sep 1997 19:39:53 +0000 (19:39 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Tue, 2 Sep 1997 19:39:53 +0000 (19:39 +0000)
if current start is equal to start of next portion.

lisp/scroll-bar.el

index ec02d8c57c9033f7b0839297e960d85c8602f334..6a2660626d1fa9a8bea192b2fecff3740a73792f 100644 (file)
@@ -186,7 +186,7 @@ EVENT should be a scroll bar click or drag event."
       (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.