next-line-add-newlines

next-line-add-newlines is a variable defined in `simple.el'.
Its value is
nil


Documentation:
If non-nil, `next-line' inserts newline to avoid `end of buffer' error.

You can customize this variable.

This variable was introduced, or its default value was changed, in version 21.1 of Emacs.