1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

Fix tramp-completion-multi-hop-methods handling

* lisp/net/tramp-container.el (tramp-completion-multi-hop-methods):
Add methods properly.

* lisp/net/tramp.el (tramp-completion-multi-hop-methods): Fix :type.
This commit is contained in:
Michael Albinus 2023-09-01 13:49:22 +02:00
parent aa48680170
commit eeb7f2bc12
2 changed files with 3 additions and 3 deletions

View File

@ -414,8 +414,8 @@ see its function help for a description of the format."
tramp-flatpak-method
'((tramp-flatpak--completion-function "")))
(add-to-list 'tramp-completion-multi-hop-methods
`(,tramp-docker-method ,tramp-podman-method))
(add-to-list 'tramp-completion-multi-hop-methods tramp-docker-method)
(add-to-list 'tramp-completion-multi-hop-methods tramp-podman-method)
;; Default connection-local variables for Tramp.

View File

@ -3012,7 +3012,7 @@ for all methods. Resulting data are derived from default settings."
(defcustom tramp-completion-multi-hop-methods nil
"Methods for which to provide completions over multi-hop connections."
:version "30.1"
:type 'boolean)
:type '(repeat (string :tag "Method name")))
(defcustom tramp-completion-use-auth-sources auth-source-do-cache
"Whether to use `auth-source-search' for completion of user and host names.