From: Michael Albinus Date: Sat, 2 Sep 2023 11:15:17 +0000 (+0200) Subject: Adapt tramp-get-completion-methods X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d096c5dc831f9feb373c4d796eeb0a551f2d0675;p=emacs.git Adapt tramp-get-completion-methods * lisp/net/tramp.el (tramp-get-completion-methods): Make MULTI-HOP optional. --- 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