example buffers using a particular mode or in some directory.
---
-*** New user option 'auto-save-visited-remote-files'.
-This user option controls whether or not 'auto-save-visited-mode' will
-auto-save remote buffers. The default is t.
+*** New user option 'remote-file-name-inhibit-auto-save-visited'.
+If this user option is non-nil, 'auto-save-visited-mode' will not
+auto-save remote buffers. The default is nil.
+++
*** New package vtable.el for formatting tabular data.
:risky t
:version "29.1")
-(defcustom auto-save-visited-remote-files t
- "If non-nil, `auto-save-visited-mode' will auto-save remote files."
+(defcustom remote-file-name-inhibit-auto-save-visited nil
+ "When nil, `auto-save-visited-mode' will auto-save remote files.
+Any other value means that it will not."
:group 'auto-save
:type 'boolean
:version "29.1")
(not (and buffer-auto-save-file-name
auto-save-visited-file-name))
(or (not (file-remote-p buffer-file-name))
- auto-save-visited-remote-files)
+ (not remote-file-name-inhibit-auto-save-visited))
(or (not (functionp auto-save-visited-predicate))
(funcall auto-save-visited-predicate))))))))