From c277c277aeed97c1d254959627326e8884cadfc5 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 26 Apr 2022 19:19:28 -0700 Subject: tramp: simplify to speed up --- emacs/custom/my-tramp.el | 11 ++++------- 1 file 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 -- cgit 1.4.1