changeset 67551:fe8f45a3c8a7

(Scrolling only one line): Use `scroll-conservatively'.
author Romain Francoise <romain@orebokech.com>
date Tue, 13 Dec 2005 20:48:20 +0000
parents 7c0bd57ed595
children 91dadacfc1d5
files man/ChangeLog man/faq.texi
diffstat 2 files changed, 11 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/man/ChangeLog	Tue Dec 13 11:07:50 2005 +0000
+++ b/man/ChangeLog	Tue Dec 13 20:48:20 2005 +0000
@@ -1,3 +1,7 @@
+2005-12-13  Romain Francoise  <romain@orebokech.com>
+
+	* faq.texi (Scrolling only one line): Use `scroll-conservatively'.
+
 2005-12-12  Jay Belanger  <belanger@truman.edu>
 
 	* faq.texi (Calc): Updated version number.
--- a/man/faq.texi	Tue Dec 13 11:07:50 2005 +0000
+++ b/man/faq.texi	Tue Dec 13 20:48:20 2005 +0000
@@ -2503,14 +2503,17 @@
 @cindex Scrolling only one line
 @cindex Reducing the increment when scrolling
 
-Place the following Lisp form in your @file{.emacs} file:
+Customize the @code{scroll-conservatively} variable with @kbd{M-x
+customize-variable @key{RET} scroll-conservatively @key{RET}} and set it
+to a large value like, say, 10000.  For an explanation of what this
+means, @inforef{Scrolling, Scrolling, emacs}.
+
+Alternatively, use the following Lisp form in your @file{.emacs}:
 
 @lisp
-(setq scroll-step 1)
+(setq scroll-conservatively most-positive-fixnum)
 @end lisp
 
-@inforef{Scrolling, Scrolling, emacs}.
-
 @node Replacing highlighted text, Editing MS-DOS files, Scrolling only one line, Common requests
 @section How can I replace highlighted text with what I type?
 @cindex @code{delete-selection-mode}