scroll-error-top-bottom
scroll-error-top-bottom is a variable defined in `
window.el
'.
Its value is
nil
Documentation:
Move point to top/bottom of buffer before signaling a scrolling error.
A value of nil means just signal an error if no more scrolling possible.
A value of t means point moves to the beginning or the end of the buffer
(depending on scrolling direction) when no more scrolling possible.
When point is already on that position, then signal an error.
You can customize this variable.
This variable was introduced, or its default value was changed, in
version 24.1 of Emacs.