From 760e779db500f42507994b5c66a2a7ca9fe0f763 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 24 Jan 2024 16:04:04 -0500 Subject: [PATCH] Enable new `tramp-show-ad-hoc-proxies` from Emacs 29.2 --- .emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 2c6a3a5..abe3605 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -135,7 +135,8 @@ :bind ("C-c C-f" . find-file-as-root) :config (add-to-list 'tramp-remote-path 'tramp-own-remote-path) - (setq tramp-default-method "ssh") + (setq tramp-default-method "ssh" + tramp-show-ad-hoc-proxies t) (defun find-file-as-root () (interactive) (find-alternate-file (concat "/sudo::" (buffer-file-name)))))