aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
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/frame.c
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/frame.c')
-rw-r--r--src/frame.c10
1 files changed, 10 insertions, 0 deletions
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