diff options
| author | Paul Eggert | 2017-05-06 18:00:23 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-05-06 18:05:25 -0700 |
| commit | c311b8b15e91dd07e2d23d8d21ebb53d0b5f2204 (patch) | |
| tree | 3e3166a62f6d8e920d7bbe422b8ffdf99dc7fa21 /doc | |
| parent | 7f3d63908cd05fb34347d942e435c2964cd8b249 (diff) | |
| download | emacs-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.texi | 7 |
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 | |||
| 1657 | copies the contents of the region into the specified file. @kbd{M-x | 1657 | copies the contents of the region into the specified file. @kbd{M-x |
| 1658 | append-to-file} adds the text of the region to the end of the | 1658 | append-to-file} adds the text of the region to the end of the |
| 1659 | specified file. @xref{Accumulating Text}. When called interactively, | 1659 | specified file. @xref{Accumulating Text}. When called interactively, |
| 1660 | these commands will print a message in the echo area giving the name | 1660 | these commands print a message in the echo area giving the name |
| 1661 | of the file affected as well as the number of characters which were | 1661 | of the file affected; if the variable @code{write-region-verbose} is |
| 1662 | added. The variable @code{write-region-inhibit-fsync} applies to | 1662 | non-nil the message also reports the number of characters written. |
| 1663 | The variable @code{write-region-inhibit-fsync} applies to | ||
| 1663 | these commands, as well as saving files; see @ref{Customize Save}. | 1664 | these commands, as well as saving files; see @ref{Customize Save}. |
| 1664 | 1665 | ||
| 1665 | @findex set-file-modes | 1666 | @findex set-file-modes |