summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-11-16 17:09:04 +0000
committerGerd Moellmann <gerd@gnu.org>2000-11-16 17:09:04 +0000
commit4104194e1c28a2d8156dfebd1400542caf6f4ad0 (patch)
tree4ed84a5cd51d29259b7e38fa3729dfb4123ab560
parent407b432881cad19029c80f9626cc84e0a9321caa (diff)
downloademacs-4104194e1c28a2d8156dfebd1400542caf6f4ad0.tar.gz
*** empty log message ***
-rw-r--r--etc/NEWS3
-rw-r--r--lisp/ChangeLog4
-rw-r--r--man/files.texi3
3 files changed, 9 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index b662e84a840..065da36f5f3 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -41,6 +41,9 @@ lacks unexec, asynchronous processes, and networking support.
* Changes in Emacs 21.1
+** When visiting a file with M-x find-file-literally, no newlines will
+be added to the end of the buffer because of `require-final-newline'.
+
** auto-compression mode is no longer enabled just by loading jka-compr.el.
To control it, set `auto-compression-mode' via Custom or use the
`auto-compression-mode' command.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ccaf136403e..86bd76bc1da 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
2000-11-16 Gerd Moellmann <gerd@gnu.org>
+ * files.el (basic-save-buffer): Don't add a newline if
+ find-file-literally is non-nil.
+ (find-file-literally): Extend doc string.
+
* sort.el (sort-columns): If sort-fold-case it non-nil, invoke
sort(1) with the `-f' argument.
diff --git a/man/files.texi b/man/files.texi
index 5466417c3b6..2accbadbc03 100644
--- a/man/files.texi
+++ b/man/files.texi
@@ -278,7 +278,8 @@ system. @xref{Frames}.
encoding or conversion, use the @kbd{M-x find-file-literally} command.
It visits a file, like @kbd{C-x C-f}, but does not do format conversion
(@pxref{Formatted Text}), character code conversion (@pxref{Coding
-Systems}), or automatic uncompression (@pxref{Compressed Files}).
+Systems}), or automatic uncompression (@pxref{Compressed Files}), and
+does not add a final newline because of @code{require-final-newline}.
If you already have visited the same file in the usual (non-literal)
manner, this command asks you whether to visit it literally instead.