aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2017-05-06 18:00:23 -0700
committerPaul Eggert2017-05-06 18:05:25 -0700
commitc311b8b15e91dd07e2d23d8d21ebb53d0b5f2204 (patch)
tree3e3166a62f6d8e920d7bbe422b8ffdf99dc7fa21 /doc
parent7f3d63908cd05fb34347d942e435c2964cd8b249 (diff)
downloademacs-c311b8b15e91dd07e2d23d8d21ebb53d0b5f2204.tar.gz
emacs-c311b8b15e91dd07e2d23d8d21ebb53d0b5f2204.zip
New var write-region-verbose, default nil
By popular demand, write-region char counts are now off by default (Bug#26796). * src/fileio.c (write-region-verbose): New Lisp var. (write_region): Output char count only if the var is non-nil. * doc/emacs/files.texi (Misc File Ops), etc/NEWS: Document this.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/files.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index bc977b72c17..d36fe6541ed 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -1657,9 +1657,10 @@ similar to the @kbd{M-x find-file-literally} command
1657copies the contents of the region into the specified file. @kbd{M-x 1657copies the contents of the region into the specified file. @kbd{M-x
1658append-to-file} adds the text of the region to the end of the 1658append-to-file} adds the text of the region to the end of the
1659specified file. @xref{Accumulating Text}. When called interactively, 1659specified file. @xref{Accumulating Text}. When called interactively,
1660these commands will print a message in the echo area giving the name 1660these commands print a message in the echo area giving the name
1661of the file affected as well as the number of characters which were 1661of the file affected; if the variable @code{write-region-verbose} is
1662added. The variable @code{write-region-inhibit-fsync} applies to 1662non-nil the message also reports the number of characters written.
1663The variable @code{write-region-inhibit-fsync} applies to
1663these commands, as well as saving files; see @ref{Customize Save}. 1664these commands, as well as saving files; see @ref{Customize Save}.
1664 1665
1665@findex set-file-modes 1666@findex set-file-modes