Mercurial > emacs
changeset 87997:13df71a98040
* 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>.
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Sat, 26 Jan 2008 14:54:55 +0000 |
parents | 24ee99ee0e23 |
children | 3ef9b6e3d2fa |
files | lisp/net/tramp.el |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/net/tramp.el Sat Jan 26 14:53:55 2008 +0000 +++ b/lisp/net/tramp.el Sat Jan 26 14:54:55 2008 +0000 @@ -6663,6 +6663,10 @@ (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