Enable new tramp-show-ad-hoc-proxies
from Emacs 29.2
This commit is contained in:
parent
a3813e1290
commit
760e779db5
@ -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)))))
|
||||
|
Loading…
Reference in New Issue
Block a user