From d87ced1e533ef8d1a030adf8a3996552ca92b519 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 18 Apr 2022 20:02:01 -0700 Subject: tramp: get rid of `use-package' --- emacs/custom/my-tramp.el | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/emacs/custom/my-tramp.el b/emacs/custom/my-tramp.el index 02d32f1..469b58f 100644 --- a/emacs/custom/my-tramp.el +++ b/emacs/custom/my-tramp.el @@ -1,16 +1,16 @@ -;;; my-tramp.el --- Configure tramp +;;; my-tramp.el --- Configure tramp -*- lexical-binding: t -*- + ;;; Commentary: + ;;; Code: -(require 'use-package) +(require 'tramp) +(require 'tramp-sh) -(use-package tramp - :custom - (tramp-default-method "ssh") - (tramp-histfile-override t) - (tramp-persistency-file-name (expand-file-name "var/tramp" user-emacs-directory)) - (tramp-ssh-controlmaster-options - "-o ControlMaster=auto -o ControlPath='tramp.%%C'")) +(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'") (provide 'my-tramp) ;;; my-tramp.el ends here -- cgit 1.4.1