Commit 1636ca09 authored by Gerd Moellmann's avatar Gerd Moellmann

*** empty log message ***

parent a01cfb77
......@@ -41,6 +41,7 @@ lacks unexec, asynchronous processes, and networking support.
* 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
......
......@@ -44,7 +44,8 @@ function (or a new command) which uses the existing function.
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
......
......@@ -219,9 +219,10 @@ to the end of another line. Normally, @code{track-eol} is @code{nil}.
@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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment