From 4104194e1c28a2d8156dfebd1400542caf6f4ad0 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 16 Nov 2000 17:09:04 +0000 Subject: [PATCH] *** empty log message *** --- etc/NEWS | 3 +++ lisp/ChangeLog | 4 ++++ man/files.texi | 3 ++- 3 files changed, 9 insertions(+), 1 deletion(-) 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 + * 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. -- 2.39.5