Function: eudc-parse-spec

eudc-parse-spec is a byte-compiled function defined in eudc-export.el.gz.

Signature

(eudc-parse-spec SPEC RECORD RECURSE)

Documentation

Parse the conversion SPEC using RECORD.

If RECURSE is non-nil then SPEC may be a list of atomic specs.

Source Code

;; Defined in /usr/src/emacs/lisp/net/eudc-export.el.gz
(defun eudc-parse-spec (spec record recurse)
  "Parse the conversion SPEC using RECORD.
If RECURSE is non-nil then SPEC may be a list of atomic specs."
  (cond
   ((or (stringp spec)
	(symbolp spec)
	(and (listp spec)
	     (symbolp (car spec))
	     (fboundp (car spec))))
    (condition-case nil
	(eval spec t)
      (void-variable nil)))
   ((and recurse
	 (listp spec))
    (mapcar (lambda (spec-elem)
	       (eudc-parse-spec spec-elem record nil))
	    spec))
   (t
    (error "Invalid specification for `%s' in `eudc-bbdb-conversion-alist'" spec))))