changeset 33559:c6a08bfab7fd

*** empty log message ***
author Gerd Moellmann <gerd@gnu.org>
date Thu, 16 Nov 2000 17:09:04 +0000
parents 786f1533a10f
children da206bbad86b
files etc/NEWS lisp/ChangeLog man/files.texi
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Thu Nov 16 17:04:27 2000 +0000
+++ b/etc/NEWS	Thu Nov 16 17:09:04 2000 +0000
@@ -41,6 +41,9 @@
 
 * 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.
--- a/lisp/ChangeLog	Thu Nov 16 17:04:27 2000 +0000
+++ b/lisp/ChangeLog	Thu Nov 16 17:09:04 2000 +0000
@@ -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.
 
--- a/man/files.texi	Thu Nov 16 17:04:27 2000 +0000
+++ b/man/files.texi	Thu Nov 16 17:09:04 2000 +0000
@@ -278,7 +278,8 @@
 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.