\f
* Changes in Emacs 21.1
++++
** The default for user-option `next-line-add-newlines' has been
changed to nil, i.e. C-n will no longer add newlines at the end of a
buffer by default.
+2000-12-02 Gerd Moellmann <gerd@gnu.org>
+
+ * simple.el (next-line-add-newlines): Change default to nil.
+
2000-12-01 Eli Zaretskii <eliz@is.elta.co.il>
* files.el (revert-buffer, recover-file): Bind
The command @code{next-line} moves point down vertically one or more
lines; it is the standard binding of @kbd{C-n}. When used on the last
line of the buffer, this command inserts a newline to create a line to
-move to (if @code{next-line-add-newlines} is non-@code{nil}).
+move to if @code{next-line-add-newlines} is non-@code{nil} (its default
+is @code{nil}.)
Suppose you wanted to add a similar feature to @code{previous-line},
which would insert a new line at the beginning of the buffer for the
@xref{Variables}, for how to set variables such as @code{track-eol}.
@vindex next-line-add-newlines
- Normally, @kbd{C-n} on the last line of a buffer appends a newline to
-it. If the variable @code{next-line-add-newlines} is @code{nil}, then
-@kbd{C-n} gets an error instead (like @kbd{C-p} on the first line).
+ If non-@code{nil}, @kbd{C-n} on the last line of a buffer appends a
+newline to it. If the variable @code{next-line-add-newlines} is
+@code{nil}, the default, then @kbd{C-n} gets an error instead (like
+@kbd{C-p} on the first line).
@node Erasing
@section Erasing Text