From a5fcbc4e5a86c0bdc68a6a2b9b69996c00df740d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 20 May 1998 02:01:10 +0000 Subject: [PATCH] (Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fixes. --- src/window.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/window.c b/src/window.c index 254942d3ba4..1069e71da54 100644 --- a/src/window.c +++ b/src/window.c @@ -2975,7 +2975,8 @@ DEFUN ("scroll-up", Fscroll_up, Sscroll_up, 0, 1, "P", "Scroll text of current window upward ARG lines; or near full screen if no ARG.\n\ A near full screen is `next-screen-context-lines' less than a full screen.\n\ Negative ARG means scroll downward.\n\ -When calling from a program, supply a number as argument or nil.") +If ARG is the atom `-', scroll downward by nearly full screen. +When calling from a program, supply as argument a number, nil, or '-.") (arg) Lisp_Object arg; { @@ -2984,10 +2985,11 @@ When calling from a program, supply a number as argument or nil.") } DEFUN ("scroll-down", Fscroll_down, Sscroll_down, 0, 1, "P", - "Scroll text of current window downward ARG lines; or near full screen if no ARG.\n\ + "Scroll text of current window down ARG lines; or near full screen if no ARG.\n\ A near full screen is `next-screen-context-lines' less than a full screen.\n\ Negative ARG means scroll upward.\n\ -When calling from a program, supply a number as argument or nil.") +If ARG is the atom `-', scroll upward by nearly full screen. +When calling from a program, supply as argument a number, nil, or '-.") (arg) Lisp_Object arg; { @@ -3040,9 +3042,11 @@ showing that buffer is used.") DEFUN ("scroll-other-window", Fscroll_other_window, Sscroll_other_window, 0, 1, "P", "Scroll next window upward ARG lines; or near full screen if no ARG.\n\ +A near full screen is `next-screen-context-lines' less than a full screen. The next window is the one below the current one; or the one at the top\n\ if the current one is at the bottom. Negative ARG means scroll downward.\n\ -When calling from a program, supply a number as argument or nil.\n\ +If ARG is the atom `-', scroll downward by nearly full screen. +When calling from a program, supply as argument a number, nil, or '-.\n\ \n\ If in the minibuffer, `minibuffer-scroll-window' if non-nil\n\ specifies the window to scroll.\n\ -- 2.39.2