changeset 43353:10f59509c416

Document automatic-hscroll-margin and automatic-hscroll-step.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 16 Feb 2002 12:59:22 +0000
parents 1d0fea9f9515
children d6acddb696b2
files etc/NEWS
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Sat Feb 16 12:57:45 2002 +0000
+++ b/etc/NEWS	Sat Feb 16 12:59:22 2002 +0000
@@ -32,6 +32,19 @@
 
 * Changes in Emacs 21.3
 
+** The amount of automatic hscrolling can now be customized.
+The variable `automatic-hscroll-margin' determines how many columns
+away from the window edge point is allowed to get before automatic
+hscrolling will horizontally scroll the window.  The default value is 5.
+
+The variable `automatic-hscroll-step' determines how many many
+columns will automatic hscrolling scroll the window when point gets
+too close to the window edge.  If its value is zero, the default, the
+window will be scrolled so as to center point.  If its value is an
+integer, it says how many columns to scroll.  If the value is a
+floating-point number, it gives the fraction of the window's width to
+scroll the window.
+
 ** New display feature: focus follows mouse.
 By setting the variable x-autoselect-window to non-nil value, mouse will
 autoselect the window it is in.  It is turned off by default.