Function: tramp-file-name-equal-p
tramp-file-name-equal-p is a byte-compiled function defined in
tramp.el.gz.
Signature
(tramp-file-name-equal-p VEC1 VEC2)
Documentation
Check, whether VEC1 and VEC2 denote the same tramp-file-name.
LOCALNAME and HOP do not count.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
;; Comparison of file names is performed by `tramp-equal-remote'.
(defun tramp-file-name-equal-p (vec1 vec2)
"Check, whether VEC1 and VEC2 denote the same `tramp-file-name'.
LOCALNAME and HOP do not count."
(declare (tramp-suppress-trace t))
(and (tramp-file-name-p vec1) (tramp-file-name-p vec2)
(equal (tramp-file-name-unify vec1)
(tramp-file-name-unify vec2))))