diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 77d727e2f2..7bae434723 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -1440,7 +1440,7 @@ tramp-dissect-file-name :method method :user user :domain domain :host host :port port :localname localname :hop hop)) ;; The method must be known. - (unless (or (tramp-completion-mode-p) + (unless (or nodefault (tramp-completion-mode-p) (string-equal method tramp-default-method-marker) (assoc method tramp-methods)) (tramp-user-error