From 5d449a36ccff14cfa371f61cf57501e073e5d2f9 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 26 Jan 2008 14:54:55 +0000 Subject: [PATCH] * net/tramp.el (tramp-dissect-file-name): Raise an error when Tramp 2.0 syntax is used. Suggested by Trent W. Buck . --- lisp/net/tramp.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 4aa092ad704..9fba537f006 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -6663,6 +6663,10 @@ values." (user (match-string (nth 2 tramp-file-name-structure) name)) (host (match-string (nth 3 tramp-file-name-structure) name)) (localname (match-string (nth 4 tramp-file-name-structure) name))) + (when (member method '("multi" "multiu")) + (error + "`%s' method is no longer supported, see (info \"(tramp)Multi-hops\")" + method)) (if nodefault (vector method user host localname) (vector -- 2.39.2