aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Djärv2013-02-17 11:41:33 +0100
committerJan Djärv2013-02-17 11:41:33 +0100
commitfd9547e88bc8796141a3cd82076d071add2fd64e (patch)
treeafe1489e61b50ff52229575f87ec47e7be08ad2b /src
parent1bb1e03834c6755b42a6404aa3d2832c38c3981e (diff)
downloademacs-fd9547e88bc8796141a3cd82076d071add2fd64e.tar.gz
emacs-fd9547e88bc8796141a3cd82076d071add2fd64e.zip
Move scroll-bar-adjust-thumb-portion.
* xterm.c (syms_of_xterm): Move scroll-bar-adjust-thumb-portion ... * frame.c (syms_of_frame): ... to here.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/frame.c10
-rw-r--r--src/xterm.c10
3 files changed, 16 insertions, 10 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4d39a32e883..8e5cb667413 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12013-02-17 Jan Djärv <jan.h.d@swipnet.se>
2
3 * xterm.c (syms_of_xterm): Move scroll-bar-adjust-thumb-portion ...
4
5 * frame.c (syms_of_frame): ... to here.
6
12013-02-16 Eli Zaretskii <eliz@gnu.org> 72013-02-16 Eli Zaretskii <eliz@gnu.org>
2 8
3 * w32.c (sys_chown): Remove unused function. 9 * w32.c (sys_chown): Remove unused function.
diff --git a/src/frame.c b/src/frame.c
index 9c26af819bc..0fa821682f3 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -4233,6 +4233,16 @@ Setting this variable does not affect existing frames, only new ones. */);
4233 Vdefault_frame_scroll_bars = Qnil; 4233 Vdefault_frame_scroll_bars = Qnil;
4234#endif 4234#endif
4235 4235
4236 DEFVAR_BOOL ("scroll-bar-adjust-thumb-portion",
4237 scroll_bar_adjust_thumb_portion_p,
4238 doc: /* Adjust thumb for overscrolling for Gtk+ and MOTIF.
4239Non-nil means adjust the thumb in the scroll bar so it can be dragged downwards
4240even if the end of the buffer is shown (i.e. overscrolling).
4241Set to nil if you want the thumb to be at the bottom when the end of the buffer
4242is shown. Also, the thumb fills the whole scroll bar when the entire buffer
4243is visible. In this case you can not overscroll. */);
4244 scroll_bar_adjust_thumb_portion_p = 1;
4245
4236 DEFVAR_LISP ("terminal-frame", Vterminal_frame, 4246 DEFVAR_LISP ("terminal-frame", Vterminal_frame,
4237 doc: /* The initial frame-object, which represents Emacs's stdout. */); 4247 doc: /* The initial frame-object, which represents Emacs's stdout. */);
4238 4248
diff --git a/src/xterm.c b/src/xterm.c
index eef4edf17f6..b5274992293 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -10773,16 +10773,6 @@ With MS Windows or Nextstep, the value is t. */);
10773 Vx_toolkit_scroll_bars = Qnil; 10773 Vx_toolkit_scroll_bars = Qnil;
10774#endif 10774#endif
10775 10775
10776 DEFVAR_BOOL ("scroll-bar-adjust-thumb-portion",
10777 scroll_bar_adjust_thumb_portion_p,
10778 doc: /* Adjust thumb for overscrolling for Gtk+ and MOTIF.
10779Non-nil means adjust the thumb in the scroll bar so it can be dragged downwards
10780even if the end of the buffer is shown (i.e. overscrolling).
10781Set to nil if you want the thumb to be at the bottom when the end of the buffer
10782is shown. Also, the thumb fills the whole scroll bar when the entire buffer
10783is visible. In this case you can not overscroll. */);
10784 scroll_bar_adjust_thumb_portion_p = 1;
10785
10786 staticpro (&last_mouse_motion_frame); 10776 staticpro (&last_mouse_motion_frame);
10787 last_mouse_motion_frame = Qnil; 10777 last_mouse_motion_frame = Qnil;
10788 10778