From: Jan Djärv Date: Fri, 11 Jan 2013 05:09:30 +0000 (+0100) Subject: Make scroll-bar-adjust-thumb-portion customizable, adjust documentation. X-Git-Tag: emacs-24.3.90~173^2~7^2~315 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=616763d517df5c39933bc10ce438fb3f6c7cb66a;p=emacs.git Make scroll-bar-adjust-thumb-portion customizable, adjust documentation. * lisp/cus-start.el (all): Add scroll-bar-adjust-thumb-portion. * src/xterm.c (syms_of_xterm): Adjust documentation for scroll-bar-adjust-thumb-portion. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 73e096adc5e..4bd5ba43be6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2013-01-11 Jan Djärv + + * cus-start.el (all): Add scroll-bar-adjust-thumb-portion. + 2013-01-13 Stefan Monnier * jit-lock.el (jit-lock-debug-mode): New minor mode. diff --git a/lisp/cus-start.el b/lisp/cus-start.el index b954ed60baa..e1d4eb837ca 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el @@ -513,6 +513,7 @@ since it could result in memory overflow and make Emacs crash." (x-use-underline-position-properties display boolean "22.1") (x-underline-at-descent-line display boolean "22.1") (x-stretch-cursor display boolean "21.1") + (scroll-bar-adjust-thumb-portion windows boolean "24.4") ;; xselect.c (x-select-enable-clipboard-manager killing boolean "24.1") ;; xsettings.c diff --git a/src/ChangeLog b/src/ChangeLog index ce6ce861a79..31f119160ff 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2013-01-11 Jan Djärv + + * xterm.c (syms_of_xterm): Adjust documentation for + scroll-bar-adjust-thumb-portion. + 2012-12-31 Adam Sjøgren * xterm.c (scroll-bar-adjust-thumb-portion): New variable to diff --git a/src/xterm.c b/src/xterm.c index cbae1bc4b0d..26d40859ed3 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -10789,10 +10789,12 @@ With MS Windows or Nextstep, the value is t. */); DEFVAR_BOOL ("scroll-bar-adjust-thumb-portion", scroll_bar_adjust_thumb_portion_p, - doc: /* Non-nil means adjust the thumb in the -scroll bar to be less likely to resize which looks better. -Set to nil if you want the thumb to fill the whole scroll bar -when the entire buffer is visible. */); + doc: /* Adjust thumb for overscrolling for Gtk+ and MOTIF. +Non-nil means adjust the thumb in the scroll bar so it can be dragged downwards +even if the end of the buffer is shown (i.e. overscrolling). +Set to nil if you want the thumb to be at the bottom when the end of the buffer +is shown. Also, the thumb fills the whole scroll bar when the entire buffer +is visible. In this case you can not overscroll. */); scroll_bar_adjust_thumb_portion_p = 1; staticpro (&last_mouse_motion_frame);