diff options
| author | Jan Djärv | 2013-01-11 06:09:30 +0100 |
|---|---|---|
| committer | Jan Djärv | 2013-01-11 06:09:30 +0100 |
| commit | 616763d517df5c39933bc10ce438fb3f6c7cb66a (patch) | |
| tree | 96a1b866a2c7b2af71b52cfe9232a7a716c7f732 | |
| parent | ec782c5f13fbcebe3b02106357c7daa0681a2b08 (diff) | |
| download | emacs-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.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/cus-start.el | 1 | ||||
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xterm.c | 10 |
4 files changed, 16 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 73e096adc5e..4bd5ba43be6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-01-11 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * cus-start.el (all): Add scroll-bar-adjust-thumb-portion. | ||
| 4 | |||
| 1 | 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * jit-lock.el (jit-lock-debug-mode): New minor mode. | 7 | * 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." | |||
| 513 | (x-use-underline-position-properties display boolean "22.1") | 513 | (x-use-underline-position-properties display boolean "22.1") |
| 514 | (x-underline-at-descent-line display boolean "22.1") | 514 | (x-underline-at-descent-line display boolean "22.1") |
| 515 | (x-stretch-cursor display boolean "21.1") | 515 | (x-stretch-cursor display boolean "21.1") |
| 516 | (scroll-bar-adjust-thumb-portion windows boolean "24.4") | ||
| 516 | ;; xselect.c | 517 | ;; xselect.c |
| 517 | (x-select-enable-clipboard-manager killing boolean "24.1") | 518 | (x-select-enable-clipboard-manager killing boolean "24.1") |
| 518 | ;; xsettings.c | 519 | ;; xsettings.c |
diff --git a/src/ChangeLog b/src/ChangeLog index ce6ce861a79..31f119160ff 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-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 | |||
| 1 | 2012-12-31 Adam Sjøgren <asjo@koldfront.dk> | 6 | 2012-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. |
| 10793 | scroll bar to be less likely to resize which looks better. | 10793 | Non-nil means adjust the thumb in the scroll bar so it can be dragged downwards |
| 10794 | Set to nil if you want the thumb to fill the whole scroll bar | 10794 | even if the end of the buffer is shown (i.e. overscrolling). |
| 10795 | when the entire buffer is visible. */); | 10795 | Set to nil if you want the thumb to be at the bottom when the end of the buffer |
| 10796 | is shown. Also, the thumb fills the whole scroll bar when the entire buffer | ||
| 10797 | is 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); |