From ad1baff0a12cb22c5c515e0ba3ed29d4b876451b Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Tue, 5 Jul 2022 21:19:51 +0200 Subject: [PATCH] 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. --- doc/misc/tramp.texi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index a8230ac9451..76e2ea0f360 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -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 -- 2.39.5