1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-27 19:31:38 +00:00

Improve documentation of auto-save-visited-file-name

* doc/emacs/files.texi (Auto Save Files): Mention subtle
differences between saving the buffer and auto-saving with
auto-save-visited-file-name set non-nil.  (Bug#25478)
This commit is contained in:
Eli Zaretskii 2017-01-20 10:34:15 +02:00
parent 2236c53bbe
commit 9fcab85efd

View File

@ -1038,8 +1038,10 @@ auto-save-mode}.
If you want auto-saving to be done in the visited file rather than
in a separate auto-save file, set the variable
@code{auto-save-visited-file-name} to a non-@code{nil} value. In this
mode, there is no real difference between auto-saving and explicit
saving.
mode, auto-saving is very similar to explicit saving. However,
differences still exist, in particular for modes which modify the
buffer-saving process in non-trivial ways via various hooks
(@pxref{Saving Buffers,,, elisp, The Emacs Lisp Reference Manual}).
@vindex delete-auto-save-files
A buffer's auto-save file is deleted when you save the buffer in its