autosave for tramp buffers is very annoying, every time it cost dozens of seconds.
I can disable it by using Alt-X auto-save-mode, Is there any way I can do to automatic disable it? maybe by using some kind of hook?
You can set tramp-auto-save-directory
to a local directory.
(setq tramp-auto-save-directory "~/emacs/tramp-autosave")
Update: In your case, you may set tramp-auto-save-directory
to /tmp
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With