Function: tramp-connection-property-p

tramp-connection-property-p is an autoloaded and byte-compiled function defined in tramp-cache.el.gz.

Signature

(tramp-connection-property-p KEY PROPERTY)

Documentation

Check whether named PROPERTY of a connection is defined.

KEY identifies the connection, it is either a process or a tramp-file-name structure. A special case is nil, which is used to cache connection properties of the local machine.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-cache.el.gz
;;;###tramp-autoload
(defun tramp-connection-property-p (key property)
  "Check whether named PROPERTY of a connection is defined.
KEY identifies the connection, it is either a process or a
`tramp-file-name' structure.  A special case is nil, which is
used to cache connection properties of the local machine."
  (not (eq (tramp-get-connection-property key property tramp-cache-undefined)
	   tramp-cache-undefined)))