Function: eudc-plist-member

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

Signature

(eudc-plist-member PLIST PROP)

Documentation

Return t if PROP has a value specified in PLIST.

Source Code

;; Defined in /usr/src/emacs/lisp/net/eudc.el.gz
(defun eudc-plist-member (plist prop)
  "Return t if PROP has a value specified in PLIST."
  (if (not (= 0 (% (length plist) 2)))
      (error "Malformed plist"))
  (catch 'found
    (while plist
      (if (eq prop (car plist))
	  (throw 'found t))
      (setq plist (cdr (cdr plist))))
    nil))