Mention remote-file-name-inhibit-auto-save-visited in Tramp manual

* doc/misc/tramp.texi (Auto-save File Lock and Backup):
Explain remote-file-name-inhibit-auto-save-visited.
This commit is contained in:
Michael Albinus 2022-07-05 21:19:51 +02:00
parent fe82c0743b
commit ad1baff0a1

View file

@ -312,7 +312,7 @@ I hope this has provided you with a basic overview of what happens
behind the scenes when you open a file with @value{tramp}.
@c For the end user
@c For the end user.
@node Obtaining @value{tramp}
@chapter Obtaining @value{tramp}
@cindex obtaining @value{tramp}
@ -3124,6 +3124,14 @@ auto-saved files to the same directory as the original file.
Alternatively, set the user option @code{tramp-auto-save-directory}
to direct all auto saves to that location.
@c Since Emacs 29.
@vindex remote-file-name-inhibit-auto-save-visited
An alternative to @code{auto-save-mode} is
@code{auto-save-visited-mode}. In this mode, auto-saving is identical
to explicit saving. If you want to disable this behavior for remote
files, set user option
@code{remote-file-name-inhibit-auto-save-visited} to non-@code{nil}.
@vindex lock-file-name-transforms
And still more issues to handle. Since @w{Emacs 28}, file locks use a
similar user option as auto-save files, called
@ -5675,7 +5683,7 @@ Unloading @value{tramp} resets Ange FTP plugins also.
@end itemize
@c For the developer
@c For the developer.
@node Files directories and localnames
@chapter How file names, directories and localnames are mangled and managed