(Fscroll_left, Fscroll_right): Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Mon, 29 Oct 2001 19:14:50 +0000 (19:14 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 29 Oct 2001 19:14:50 +0000 (19:14 +0000)
src/ChangeLog
src/window.c

index 3c84653..d981b0b 100644 (file)
@@ -1,3 +1,7 @@
+2001-10-29  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * window.c (Fscroll_left, Fscroll_right): Doc fix.
+
 2001-10-29  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
 
        * keyboard.c (Finput_pending_p): Fix typo in doc-string.
index 303c06c..0c095c1 100644 (file)
@@ -4404,7 +4404,13 @@ showing that buffer, popping the buffer up if necessary.  */)
 \f
 DEFUN ("scroll-left", Fscroll_left, Sscroll_left, 0, 1, "P",
        doc: /* Scroll selected window display ARG columns left.
-Default for ARG is window width minus 2.  */)
+Default for ARG is window width minus 2.
+Value is the total amount of leftward horizontal scrolling in
+effect after the change.
+If `automatic-hscrolling' is non-nil, the argument ARG modifies
+a lower bound for automatic scrolling, i.e. automatic scrolling
+will not scroll a window to a column less than the value returned
+by this function.  */)
      (arg)
      register Lisp_Object arg;
 {
@@ -4428,7 +4434,13 @@ Default for ARG is window width minus 2.  */)
 
 DEFUN ("scroll-right", Fscroll_right, Sscroll_right, 0, 1, "P",
        doc: /* Scroll selected window display ARG columns right.
-Default for ARG is window width minus 2.  */)
+Default for ARG is window width minus 2.
+Value is the total amount of leftward horizontal scrolling in
+effect after the change.
+If `automatic-hscrolling' is non-nil, the argument ARG modifies
+a lower bound for automatic scrolling, i.e. automatic scrolling
+will not scroll a window to a column less than the value returned
+by this function.  */)
      (arg)
      register Lisp_Object arg;
 {