diff options
| -rw-r--r-- | lisp/net/tramp-container.el | 6 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/net/tramp-container.el b/lisp/net/tramp-container.el index a0ed9b71a9a..dae7928ba07 100644 --- a/lisp/net/tramp-container.el +++ b/lisp/net/tramp-container.el | |||
| @@ -166,7 +166,8 @@ METHOD is the Tramp method to be used for \"ps\", either | |||
| 166 | This function is used by `tramp-set-completion-function', please | 166 | This function is used by `tramp-set-completion-function', please |
| 167 | see its function help for a description of the format." | 167 | see its function help for a description of the format." |
| 168 | (let ((default-directory | 168 | (let ((default-directory |
| 169 | (or (and (member method tramp-completion-multi-hop-methods) tramp--last-hop-directory) | 169 | (or (and (member method tramp-completion-multi-hop-methods) |
| 170 | tramp--last-hop-directory) | ||
| 170 | tramp-compat-temporary-file-directory)) | 171 | tramp-compat-temporary-file-directory)) |
| 171 | (program (tramp-get-method-parameter | 172 | (program (tramp-get-method-parameter |
| 172 | (make-tramp-file-name :method method) 'tramp-login-program)) | 173 | (make-tramp-file-name :method method) 'tramp-login-program)) |
| @@ -413,6 +414,9 @@ see its function help for a description of the format." | |||
| 413 | tramp-flatpak-method | 414 | tramp-flatpak-method |
| 414 | '((tramp-flatpak--completion-function ""))) | 415 | '((tramp-flatpak--completion-function ""))) |
| 415 | 416 | ||
| 417 | (add-to-list 'tramp-completion-multi-hop-methods | ||
| 418 | `(,tramp-docker-method ,tramp-podman-method)) | ||
| 419 | |||
| 416 | ;; Default connection-local variables for Tramp. | 420 | ;; Default connection-local variables for Tramp. |
| 417 | 421 | ||
| 418 | (defconst tramp-kubernetes-connection-local-default-variables | 422 | (defconst tramp-kubernetes-connection-local-default-variables |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 754f135c315..f7842c849fe 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -3009,8 +3009,8 @@ This function is added always in `tramp-get-completion-function' | |||
| 3009 | for all methods. Resulting data are derived from default settings." | 3009 | for all methods. Resulting data are derived from default settings." |
| 3010 | `((,(tramp-find-user method nil nil) ,(tramp-find-host method nil nil)))) | 3010 | `((,(tramp-find-user method nil nil) ,(tramp-find-host method nil nil)))) |
| 3011 | 3011 | ||
| 3012 | (defcustom tramp-completion-multi-hop-methods `(,tramp-docker-method ,tramp-podman-method) | 3012 | (defcustom tramp-completion-multi-hop-methods nil |
| 3013 | "Methods for which to attempt to provide completions over multi-hop connections." | 3013 | "Methods for which to provide completions over multi-hop connections." |
| 3014 | :version "30.1" | 3014 | :version "30.1" |
| 3015 | :type 'boolean) | 3015 | :type 'boolean) |
| 3016 | 3016 | ||