diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-26 19:19:28 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-26 19:19:28 -0700 |
commit | c277c277aeed97c1d254959627326e8884cadfc5 (patch) | |
tree | 8fd8faaf2d0d7c260702f557dc93cefc0c75985a /emacs/custom | |
parent | dired: simplify so we don't need to require (diff) | |
download | emacs.d-c277c277aeed97c1d254959627326e8884cadfc5.tar.gz |
tramp: simplify to speed up
Diffstat (limited to '')
-rw-r--r-- | emacs/custom/my-tramp.el | 11 |
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 |