mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-19 10:22:27 +00:00
Move scroll-bar-adjust-thumb-portion.
* xterm.c (syms_of_xterm): Move scroll-bar-adjust-thumb-portion ... * frame.c (syms_of_frame): ... to here.
This commit is contained in:
parent
1bb1e03834
commit
fd9547e88b
@ -1,3 +1,9 @@
|
||||
2013-02-17 Jan Djärv <jan.h.d@swipnet.se>
|
||||
|
||||
* xterm.c (syms_of_xterm): Move scroll-bar-adjust-thumb-portion ...
|
||||
|
||||
* frame.c (syms_of_frame): ... to here.
|
||||
|
||||
2013-02-16 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* w32.c (sys_chown): Remove unused function.
|
||||
|
10
src/frame.c
10
src/frame.c
@ -4233,6 +4233,16 @@ Setting this variable does not affect existing frames, only new ones. */);
|
||||
Vdefault_frame_scroll_bars = Qnil;
|
||||
#endif
|
||||
|
||||
DEFVAR_BOOL ("scroll-bar-adjust-thumb-portion",
|
||||
scroll_bar_adjust_thumb_portion_p,
|
||||
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;
|
||||
|
||||
DEFVAR_LISP ("terminal-frame", Vterminal_frame,
|
||||
doc: /* The initial frame-object, which represents Emacs's stdout. */);
|
||||
|
||||
|
10
src/xterm.c
10
src/xterm.c
@ -10773,16 +10773,6 @@ With MS Windows or Nextstep, the value is t. */);
|
||||
Vx_toolkit_scroll_bars = Qnil;
|
||||
#endif
|
||||
|
||||
DEFVAR_BOOL ("scroll-bar-adjust-thumb-portion",
|
||||
scroll_bar_adjust_thumb_portion_p,
|
||||
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);
|
||||
last_mouse_motion_frame = Qnil;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user