From d096c5dc831f9feb373c4d796eeb0a551f2d0675 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 2 Sep 2023 13:15:17 +0200 Subject: [PATCH] Adapt tramp-get-completion-methods * lisp/net/tramp.el (tramp-get-completion-methods): Make MULTI-HOP optional. --- lisp/net/tramp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 716a2dcd3df..9ec3f9cb397 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -2923,7 +2923,7 @@ remote host and localname (filename on remote host)." ;; This function returns all possible method completions, adding the ;; trailing method delimiter. -(defun tramp-get-completion-methods (partial-method multi-hop) +(defun tramp-get-completion-methods (partial-method &optional multi-hop) "Return all method completions for PARTIAL-METHOD. If MULTI-HOP is non-nil, return only multi-hop capable methods." (mapcar -- 2.39.2