emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ad1baff0a1: Mention remote-file-name-inhibit-auto-save-visited in


From: Michael Albinus
Subject: master ad1baff0a1: Mention remote-file-name-inhibit-auto-save-visited in Tramp manual
Date: Tue, 5 Jul 2022 15:20:03 -0400 (EDT)

branch: master
commit ad1baff0a12cb22c5c515e0ba3ed29d4b876451b
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    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 a8230ac945..76e2ea0f36 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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]