emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d096c5dc831: Adapt tramp-get-completion-methods


From: Michael Albinus
Subject: master d096c5dc831: Adapt tramp-get-completion-methods
Date: Sat, 2 Sep 2023 07:15:31 -0400 (EDT)

branch: master
commit d096c5dc831f9feb373c4d796eeb0a551f2d0675
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]