Function: scroll-up
scroll-up is an interactive function defined in window.c.
Signature
(scroll-up &optional ARG)
Documentation
Scroll text of selected window upward ARG lines.
If ARG is omitted or nil, scroll upward by a near full screen.
A near full screen is next-screen-context-lines less than a full screen.
Negative ARG means scroll downward.
If ARG is the atom -, scroll downward by nearly full screen.
When calling from a program, supply as argument a number, nil, or -.
Probably introduced at or before Emacs version 22.1.
Key Bindings
Source Code
// Defined in /usr/src/emacs/src/window.c
{
scroll_command (selected_window, arg, 1);
return Qnil;
}