summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2017-05-08 22:17:53 -0400
committerNoam Postavsky <npostavs@gmail.com>2017-05-08 23:28:32 -0400
commitdaaec72a82e76f916e639acb51a8ad602433e8a9 (patch)
treeb58116c69a98c81205307c37f64e737aa70cffb3 /doc
parent5e2cf8c804fe5fb3f97e0d777c0e0d8efd00b89a (diff)
downloademacs-daaec72a82e76f916e639acb51a8ad602433e8a9.tar.gz
Revert "Output number of characters added to file (Bug#354)"
The extra message text turned out to be quite annoying in practice, and is generally more trouble than it's worth. Also revert several related changes. Partially revert "Handle `write-region' messages in Tramp properly" Revert "New var write-region-verbose, default nil" Revert "* src/fileio.c (write_region): Don't say "1 characters". (Bug#26796)" Revert "Minor tuneup of write-region change" Revert "Adjust write-region so file name is at the beginning again" Revert "Fix handling of non-integer START param to write-region" Revert "Output number of characters added to file (Bug#354)" * doc/emacs/files.texi (Misc File Ops): * etc/NEWS: * lisp/epa-file.el (epa-file-write-region): * lisp/gnus/mm-util.el (mm-append-to-file): * lisp/jka-compr.el (jka-compr-write-region): * lisp/net/ange-ftp.el (ange-ftp-write-region): * lisp/net/tramp-adb.el (tramp-adb-handle-write-region): * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-write-region): * lisp/net/tramp-sh.el (tramp-sh-handle-write-region): * lisp/net/tramp-smb.el (tramp-smb-handle-write-region): * lisp/net/tramp.el (tramp-handle-write-region-message): * src/fileio.c (write_region, syms_of_fileio): * test/lisp/net/tramp-tests.el (tramp-test10-write-region): Remove extra characters from file writing messages.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/files.texi9
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index d36fe6541ed..5e6afa5506f 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -1656,12 +1656,9 @@ similar to the @kbd{M-x find-file-literally} command
@kbd{M-x write-region} is the inverse of @kbd{M-x insert-file}; it
copies the contents of the region into the specified file. @kbd{M-x
append-to-file} adds the text of the region to the end of the
-specified file. @xref{Accumulating Text}. When called interactively,
-these commands print a message in the echo area giving the name
-of the file affected; if the variable @code{write-region-verbose} is
-non-nil the message also reports the number of characters written.
-The variable @code{write-region-inhibit-fsync} applies to
-these commands, as well as saving files; see @ref{Customize Save}.
+specified file. @xref{Accumulating Text}. The variable
+@code{write-region-inhibit-fsync} applies to these commands, as well
+as saving files; see @ref{Customize Save}.
@findex set-file-modes
@cindex file modes