# HG changeset patch # User Augie Fackler # Date 1497840198 14400 # Node ID 779ecb9643c2faa88d41947e3e6957d1eb4cf8a5 # Parent f500f0847a77c88a3d5d4921e5a937d0945b37d1 tramp: tweak auto-save and backup file behavior for performance diff --git a/.elisp/settings/10.tramp.el b/.elisp/settings/10.tramp.el --- a/.elisp/settings/10.tramp.el +++ b/.elisp/settings/10.tramp.el @@ -6,3 +6,8 @@ ;; with BSD sh. Use bash instead. (add-to-list 'tramp-connection-properties (list (regexp-quote "home.durin42.com") "remote-shell" "bash")) + +;; Backup (file~) disabled and auto-save (#file#) locally to prevent delays in editing remote files +(add-to-list 'backup-directory-alist + (cons tramp-file-name-regexp nil)) +(setq tramp-auto-save-directory temporary-file-directory)