Function: tramp-make-tramp-hop-name

tramp-make-tramp-hop-name is a byte-compiled function defined in tramp.el.gz.

Signature

(tramp-make-tramp-hop-name VEC)

Documentation

Construct a Tramp hop name from VEC.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defun tramp-make-tramp-hop-name (vec)
  "Construct a Tramp hop name from VEC."
  (concat
   (tramp-file-name-hop vec)
   (replace-regexp-in-string
    tramp-prefix-regexp ""
    (replace-regexp-in-string
     (rx (regexp tramp-postfix-host-regexp) eos)
     tramp-postfix-hop-format
     (tramp-make-tramp-file-name (tramp-file-name-unify vec))))))