# HG changeset patch # User Gerd Moellmann # Date 974394544 0 # Node ID c6a08bfab7fdec2bc3efcc4fb21f97b098a0ff99 # Parent 786f1533a10fcb7c4e3f1f8c128a351830f7dd7d *** empty log message *** diff -r 786f1533a10f -r c6a08bfab7fd etc/NEWS --- 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. diff -r 786f1533a10f -r c6a08bfab7fd lisp/ChangeLog --- 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 + * 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 -r 786f1533a10f -r c6a08bfab7fd man/files.texi --- 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.