Function: tramp-lookup-syntax
tramp-lookup-syntax is a byte-compiled function defined in
tramp.el.gz.
Signature
(tramp-lookup-syntax ALIST)
Documentation
Look up a syntax string in ALIST according to tramp-compat-tramp-syntax.
Raise an error if tramp-syntax is invalid.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defun tramp-lookup-syntax (alist)
"Look up a syntax string in ALIST according to `tramp-compat-tramp-syntax'.
Raise an error if `tramp-syntax' is invalid."
(or (cdr (assq (tramp-compat-tramp-syntax) alist))
(error "Wrong `tramp-syntax' %s" tramp-syntax)))