Commit 5d449a36 authored by Michael Albinus's avatar Michael Albinus
Browse files

* net/tramp.el (tramp-dissect-file-name): Raise an error when

Tramp 2.0 syntax is used.  Suggested by Trent W. Buck
<trentbuck@gmail.com>.
parent 65b01407
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment