]> git.eshelyaron.com Git - emacs.git/commitdiff
Move scroll-bar-adjust-thumb-portion.
authorJan Djärv <jan.h.d@swipnet.se>
Sun, 17 Feb 2013 10:41:33 +0000 (11:41 +0100)
committerJan Djärv <jan.h.d@swipnet.se>
Sun, 17 Feb 2013 10:41:33 +0000 (11:41 +0100)
* xterm.c (syms_of_xterm): Move scroll-bar-adjust-thumb-portion ...

* frame.c (syms_of_frame): ... to here.

src/ChangeLog
src/frame.c
src/xterm.c

index 4d39a32e883defe8d24594ba1dba938b8749be0d..8e5cb66741390c491602b43d5d1125608b54d1b9 100644 (file)
@@ -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.
index 9c26af819bcb7e03acb0fe4a28a0d6c357710e9a..0fa821682f3086f495050f17c0b463f6d8386f8d 100644 (file)
@@ -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.  */);
 
index eef4edf17f681b50d6a0a3fe7ac9eeec385e3eec..b5274992293768f8f0269e580b69038314f09133 100644 (file)
@@ -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;