Mercurial > emacs
changeset 34103:d23d6a3e8128
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sat, 02 Dec 2000 10:23:33 +0000 |
parents | e52209af2438 |
children | c9980ec72766 |
files | etc/NEWS lisp/ChangeLog lispref/advice.texi man/basic.texi |
diffstat | 4 files changed, 11 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/NEWS Sat Dec 02 10:18:08 2000 +0000 +++ b/etc/NEWS Sat Dec 02 10:23:33 2000 +0000 @@ -41,6 +41,7 @@ * 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.
--- a/lisp/ChangeLog Sat Dec 02 10:18:08 2000 +0000 +++ b/lisp/ChangeLog Sat Dec 02 10:23:33 2000 +0000 @@ -1,3 +1,7 @@ +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
--- a/lispref/advice.texi Sat Dec 02 10:18:08 2000 +0000 +++ b/lispref/advice.texi Sat Dec 02 10:23:33 2000 +0000 @@ -44,7 +44,8 @@ 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
--- a/man/basic.texi Sat Dec 02 10:18:08 2000 +0000 +++ b/man/basic.texi Sat Dec 02 10:23:33 2000 +0000 @@ -219,9 +219,10 @@ @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