Function: eudc-lax-plist-get

eudc-lax-plist-get is a byte-compiled function defined in eudc.el.gz.

Signature

(eudc-lax-plist-get PLIST PROP &optional DEFAULT)

Documentation

Extract the value of PROP from lax property list PLIST.

PLIST is a list of the form (PROP1 VALUE1 PROP2 VALUE2...), where comparisons between properties are done using equal instead of eq. This function returns the first value corresponding to PROP, or DEFAULT if PROP is not one of the properties in the list. If PLIST is not a valid property list, this function signals an error.

Source Code

;; Defined in /usr/src/emacs/lisp/net/eudc.el.gz
(defun eudc-lax-plist-get (plist prop &optional default)
  "Extract the value of PROP from lax property list PLIST.
PLIST is a list of the form (PROP1 VALUE1 PROP2 VALUE2...), where
comparisons between properties are done using `equal' instead of
`eq'.  This function returns the first value corresponding to
PROP, or DEFAULT if PROP is not one of the properties in the
list.  If PLIST is not a valid property list, this function
signals an error."
  (let ((tail (eudc--plist-member plist prop #'equal)))
    (if tail (cadr tail) default)))