summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-18 20:02:01 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-18 20:02:01 -0700
commitd87ced1e533ef8d1a030adf8a3996552ca92b519 (patch)
treedc063a9da8824ab559fd562b0a06ba21aee85611
parentUI: simplify the code (diff)
downloademacs.d-d87ced1e533ef8d1a030adf8a3996552ca92b519.tar.gz
tramp: get rid of `use-package'
Diffstat (limited to '')
-rw-r--r--emacs/custom/my-tramp.el18
1 files 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