Document `scroll-bar-adjust-thumb-portion'.
authorXue Fuqiao <xfq.free@gmail.com>
Sun, 22 Dec 2013 01:45:13 +0000 (09:45 +0800)
committerXue Fuqiao <xfq.free@gmail.com>
Sun, 22 Dec 2013 01:45:13 +0000 (09:45 +0800)
doc/emacs/ChangeLog
doc/emacs/frames.texi
etc/NEWS

index 850c38a..a3ec110 100644 (file)
@@ -1,3 +1,7 @@
+2013-12-22  Xue Fuqiao  <xfq.free@gmail.com>
+
+       * frames.texi (Scroll Bars): Document `scroll-bar-adjust-thumb-portion'.
+
 2013-12-21  Chong Yidong  <cyd@gnu.org>
 
        * indent.texi (Indentation Commands): Document C-x TAB changes.
index d2c25b9..3f4d6b1 100644 (file)
@@ -930,6 +930,17 @@ or disable the scroll bars (@pxref{Resources}).  To control the scroll
 bar width, change the @code{scroll-bar-width} frame parameter
 (@pxref{Frame Parameters,,, elisp, The Emacs Lisp Reference Manual}).
 
+@vindex scroll-bar-adjust-thumb-portion
+@cindex overscrolling
+If you're using Emacs on X (with GTK+ or Motif), you can customize the
+variable @code{scroll-bar-adjust-thumb-portion} to control
+@dfn{overscrolling} of the scroll bar, i.e. dragging the thumb down even
+when the end of the buffer is visible.  If its value is
+non-@code{nil}, the scroll bar can be dragged downwards even if the
+end of the buffer is shown; if @code{nil}, the thumb will be at the
+bottom when the end of the buffer is shown.  You can not over-scroll
+when the entire buffer is visible.
+
 @node Drag and Drop
 @section Drag and Drop
 @cindex drag and drop
index 06e56e7..0500572 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -179,6 +179,7 @@ As a command, it was a special case of `C-x 2' (`split-window-below'),
 and as such superfluous.  After being reimplemented in Lisp, its
 interactive form was mistakenly retained.
 
++++
 *** New option `scroll-bar-adjust-thumb-portion'.
 Available only on X, this option allows to control over-scrolling
 using the scroll bar (i.e. dragging the thumb down even when the end