emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r111817: Move scroll-bar-adjust-thumb


From: Jan D.
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111817: Move scroll-bar-adjust-thumb-portion.
Date: Sun, 17 Feb 2013 11:41:33 +0100
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111817
committer: Jan D. <address@hidden>
branch nick: trunk
timestamp: Sun 2013-02-17 11:41:33 +0100
message:
  Move scroll-bar-adjust-thumb-portion.
  
  * xterm.c (syms_of_xterm): Move scroll-bar-adjust-thumb-portion ...
  
  * frame.c (syms_of_frame): ... to here.
modified:
  src/ChangeLog
  src/frame.c
  src/xterm.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-02-16 14:16:07 +0000
+++ b/src/ChangeLog     2013-02-17 10:41:33 +0000
@@ -1,3 +1,9 @@
+2013-02-17  Jan Djärv  <address@hidden>
+
+       * xterm.c (syms_of_xterm): Move scroll-bar-adjust-thumb-portion ...
+
+       * frame.c (syms_of_frame): ... to here.
+
 2013-02-16  Eli Zaretskii  <address@hidden>
 
        * w32.c (sys_chown): Remove unused function.

=== modified file 'src/frame.c'
--- a/src/frame.c       2013-01-24 05:41:28 +0000
+++ b/src/frame.c       2013-02-17 10:41:33 +0000
@@ -4233,6 +4233,16 @@
   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.  */);
 

=== modified file 'src/xterm.c'
--- a/src/xterm.c       2013-01-24 05:41:28 +0000
+++ b/src/xterm.c       2013-02-17 10:41:33 +0000
@@ -10773,16 +10773,6 @@
   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;
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]