summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs/custom/my-tramp.el11
1 files changed, 4 insertions, 7 deletions
diff --git a/emacs/custom/my-tramp.el b/emacs/custom/my-tramp.el
index 469b58f..3d87f7a 100644
--- a/emacs/custom/my-tramp.el
+++ b/emacs/custom/my-tramp.el
@@ -4,13 +4,10 @@
 
 ;;; Code:
 
-(require 'tramp)
-(require 'tramp-sh)
-
-(setq tramp-default-method "ssh")
-(setq tramp-histfile-override t)
-(setq tramp-persistency-file-name (expand-file-name "var/tramp" user-emacs-directory))
-(setq tramp-ssh-controlmaster-options "-o ControlMaster=auto -o ControlPath='tramp.%%C'")
+(customize-set-variable 'tramp-persistency-file-name (expand-file-name "var/tramp" user-emacs-directory))
+(customize-set-variable 'tramp-default-method "ssh")
+(customize-set-variable 'tramp-histfile-override t)
+(customize-set-variable 'tramp-ssh-controlmaster-options "-o ControlMaster=auto -o ControlPath='tramp.%%C'")
 
 (provide 'my-tramp)
 ;;; my-tramp.el ends here