summaryrefslogtreecommitdiff
path: root/old-init.el
diff options
context:
space:
mode:
Diffstat (limited to 'old-init.el')
-rw-r--r--old-init.el28
1 files changed, 6 insertions, 22 deletions
diff --git a/old-init.el b/old-init.el
index 669b507..7816a13 100644
--- a/old-init.el
+++ b/old-init.el
@@ -1,26 +1,10 @@
-(require 'tramp)
-(setq tramp-default-method "ssh")
-
-;; for root connections to remote hosts, log in via ssh with normal
-;; user account first, then su/sudo to root
-(add-to-list 'tramp-default-proxies-alist
- '(nil "\\`root\\'" "/ssh:%h:"))
-(add-to-list 'tramp-default-proxies-alist
- '((regexp-quote (system-name)) nil nil))
-
-;; respect the PATH variable on the remote machine
-(add-to-list 'tramp-remote-path 'tramp-own-remote-path)
-
-;; 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)
-(setq tramp-verbose 3)
-
-;; Write backup files to own directory
-;; TODO: conflicts with previous manipulation of backup-directory-alist
+
+
(setq backup-directory-alist
- `(("." . ,(expand-file-name
+ `(;; Do not backup or auto-save remote files to prevent delays.
+ (tramp-file-name-regexp . nil)
+ ;; Write backup files to a dedicated directory.
+ ("." . ,(expand-file-name
(concat user-emacs-directory "backups")))))
;; Make backups of files, even when they're in version control