aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv <[email protected]>2013-01-11 06:09:30 +0100
committerJan Djärv <[email protected]>2013-01-11 06:09:30 +0100
commit616763d517df5c39933bc10ce438fb3f6c7cb66a (patch)
tree96a1b866a2c7b2af71b52cfe9232a7a716c7f732
parentec782c5f13fbcebe3b02106357c7daa0681a2b08 (diff)
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.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/cus-start.el1
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xterm.c10
4 files changed, 16 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 73e096adc5..4bd5ba43be 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2013-01-11 Jan Djärv <[email protected]>
+
+ * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
+
2013-01-13 Stefan Monnier <[email protected]>
* jit-lock.el (jit-lock-debug-mode): New minor mode.
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index b954ed60ba..e1d4eb837c 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 ce6ce861a7..31f119160f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-11 Jan Djärv <[email protected]>
+
+ * xterm.c (syms_of_xterm): Adjust documentation for
+ scroll-bar-adjust-thumb-portion.
+
2012-12-31 Adam Sjøgren <[email protected]>
* xterm.c (scroll-bar-adjust-thumb-portion): New variable to
diff --git a/src/xterm.c b/src/xterm.c
index cbae1bc4b0..26d40859ed 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);