aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Djärv2013-01-11 06:09:30 +0100
committerJan Djärv2013-01-11 06:09:30 +0100
commit616763d517df5c39933bc10ce438fb3f6c7cb66a (patch)
tree96a1b866a2c7b2af71b52cfe9232a7a716c7f732 /src
parentec782c5f13fbcebe3b02106357c7daa0681a2b08 (diff)
downloademacs-616763d517df5c39933bc10ce438fb3f6c7cb66a.tar.gz
emacs-616763d517df5c39933bc10ce438fb3f6c7cb66a.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xterm.c10
2 files changed, 11 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ce6ce861a79..31f119160ff 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2
3 * xterm.c (syms_of_xterm): Adjust documentation for
4 scroll-bar-adjust-thumb-portion.
5
12012-12-31 Adam Sjøgren <asjo@koldfront.dk> 62012-12-31 Adam Sjøgren <asjo@koldfront.dk>
2 7
3 * xterm.c (scroll-bar-adjust-thumb-portion): New variable to 8 * 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. */);
10789 10789
10790 DEFVAR_BOOL ("scroll-bar-adjust-thumb-portion", 10790 DEFVAR_BOOL ("scroll-bar-adjust-thumb-portion",
10791 scroll_bar_adjust_thumb_portion_p, 10791 scroll_bar_adjust_thumb_portion_p,
10792 doc: /* Non-nil means adjust the thumb in the 10792 doc: /* Adjust thumb for overscrolling for Gtk+ and MOTIF.
10793scroll bar to be less likely to resize which looks better. 10793Non-nil means adjust the thumb in the scroll bar so it can be dragged downwards
10794Set to nil if you want the thumb to fill the whole scroll bar 10794even if the end of the buffer is shown (i.e. overscrolling).
10795when the entire buffer is visible. */); 10795Set to nil if you want the thumb to be at the bottom when the end of the buffer
10796is shown. Also, the thumb fills the whole scroll bar when the entire buffer
10797is visible. In this case you can not overscroll. */);
10796 scroll_bar_adjust_thumb_portion_p = 1; 10798 scroll_bar_adjust_thumb_portion_p = 1;
10797 10799
10798 staticpro (&last_mouse_motion_frame); 10800 staticpro (&last_mouse_motion_frame);