summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-07-31 10:57:49 -0500
committerCraig Jennings <c@cjennings.net>2025-07-31 10:57:49 -0500
commit5c4db00a5ae3f3696534d0db72bfdd7f5c4c51f2 (patch)
treedd524004e6ffe62d57018a16f5d69d54c82b8148 /modules
parentf7903367935540e7d90b080ae24d8eea5068ce78 (diff)
downloaddotemacs-5c4db00a5ae3f3696534d0db72bfdd7f5c4c51f2.tar.gz
dotemacs-5c4db00a5ae3f3696534d0db72bfdd7f5c4c51f2.zip
updated tramp config for better async processing
Diffstat (limited to 'modules')
-rw-r--r--modules/tramp-config.el11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/tramp-config.el b/modules/tramp-config.el
index 6c3fff5a..27110689 100644
--- a/modules/tramp-config.el
+++ b/modules/tramp-config.el
@@ -46,6 +46,17 @@
(setq password-cache t)
(setq password-cache-expiry nil)
+ ;; set tramp-direct-async-process locally in all ssh connections
+ (connection-local-set-profile-variables
+ 'remote-direct-async-process
+ '((tramp-direct-async-process . t)))
+ (connection-local-set-profiles
+ '(:application tramp :protocol "ssh")
+ 'remote-direct-async-process)
+ (connection-local-set-profiles
+ '(:application tramp :protocol "sshx")
+ 'remote-direct-async-process)
+
;; don't determine remote files vc status (for a performance gain)
(setq vc-ignore-dir-regexp tramp-file-name-regexp))