Function: eudc-plist-get

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

Signature

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

Documentation

Extract a value from a property list.

PLIST is a property list, which is a list of the form
(PROP1 VALUE1 PROP2 VALUE2...). This function returns the value
corresponding to the given PROP, or DEFAULT if PROP is not one of the properties on the list.

Source Code

;; Defined in /usr/src/emacs/lisp/net/eudc.el.gz
;; Emacs's plist-get lacks third parameter
(defun eudc-plist-get (plist prop &optional default)
  "Extract a value from a property list.
PLIST is a property list, which is a list of the form
\(PROP1 VALUE1 PROP2 VALUE2...).  This function returns the value
corresponding to the given PROP, or DEFAULT if PROP is not
one of the properties on the list."
  (if (eudc-plist-member plist prop)
      (plist-get plist prop)
    default))