Function: tramp-multi-hop-p
tramp-multi-hop-p is a byte-compiled function defined in tramp.el.gz.
Signature
(tramp-multi-hop-p VEC)
Documentation
Whether the method of VEC is capable of multi-hops.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defun tramp-multi-hop-p (vec)
"Whether the method of VEC is capable of multi-hops."
(let ((tramp-verbose 0))
(or (and (tramp-sh-file-name-handler-p vec)
(tramp-get-method-parameter vec 'tramp-login-args))
(run-hook-with-args-until-success 'tramp-multi-hop-p-hook vec))))