mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
fix: set tramp backup/autosave dirs in core
In71eae25, TRAMP settings were moved to a new :emacs tramp module, reverting `tramp-backup-directory-alist` and `tramp-auto-save-directory` to their Emacs defaults for anyone not using this module (which saves those temp files in the current working directory, which is an undesirable default), so we set them in core again. Fix: doomemacs/community#53 Amend:71eae252ac
This commit is contained in:
parent
51ef02595a
commit
c523ee9586
2 changed files with 5 additions and 6 deletions
|
|
@ -13,9 +13,7 @@
|
|||
remote-file-name-inhibit-auto-save-visited t
|
||||
tramp-copy-size-limit (* 1024 1024) ; 1mb
|
||||
tramp-use-scp-direct-remote-copying t
|
||||
tramp-completion-reread-directory-timeout 60
|
||||
tramp-backup-directory-alist backup-directory-alist
|
||||
tramp-auto-save-directory (concat doom-cache-dir "tramp-autosave/"))
|
||||
tramp-completion-reread-directory-timeout 60)
|
||||
|
||||
(unless (featurep :system 'windows)
|
||||
;; On windows pscp/scp > ssh, everywhere else ssh is better. sshx is even
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue