turn off autosave backup for tramp
authorJoerg Jaspert <joerg@nsb-software.de>
Mon, 16 Jun 2014 11:34:48 +0000 (13:34 +0200)
committerJoerg Jaspert <joerg@nsb-software.de>
Mon, 16 Jun 2014 11:34:48 +0000 (13:34 +0200)
.emacs.d/config/emacs.org

index 48fca7b..a482c39 100644 (file)
@@ -1211,10 +1211,10 @@ where =temporary-file-directory= is not inside my home).
   :init
   (progn
     (setq backup-directory jj-backup-directory)
-    (setq tramp-backup-directory (concat jj-backup-directory "/tramp"))
-    (if (not (file-exists-p tramp-backup-directory))
-        (make-directory tramp-backup-directory))
-    (setq tramp-backup-directory-alist `((".*" . ,tramp-backup-directory)))
+    ;(setq tramp-backup-directory (concat jj-backup-directory "/tramp"))
+    ;(if (not (file-exists-p tramp-backup-directory))
+    ;    (make-directory tramp-backup-directory))
+    ;(setq tramp-backup-directory-alist `((".*" . ,tramp-backup-directory)))
     (setq backup-directory-alist `(("." . ,jj-backup-directory)))
     (setq auto-save-list-file-prefix (concat jj-backup-directory ".auto-saves-"))
     (setq auto-save-file-name-transforms `((".*" ,jj-backup-directory t)))
@@ -4101,8 +4101,7 @@ Transparent Remote (file) Access, Multiple Protocol, remote file editing.
   (progn
     (setq tramp-persistency-file-name (expand-file-name "tramp" jj-cache-dir))
     (setq shell-prompt-pattern "^[^a-zA-Z].*[#$%>] *")
-    (add-to-list 'tramp-default-method-alist '("\\`localhost\\'" "\\`root\\'" "su")
-                 )
+    (add-to-list 'tramp-default-method-alist '("\\`localhost\\'" "\\`root\\'" "su"))
     (setq tramp-debug-buffer nil)
     (setq tramp-default-method "sshx")
     (tramp-set-completion-function "ssh"