Function: eudc-distribute-field-on-records
eudc-distribute-field-on-records is a byte-compiled function defined
in eudc.el.gz.
Signature
(eudc-distribute-field-on-records FIELD RECORDS)
Documentation
Duplicate each individual record in RECORDS according to value of FIELD.
Each copy is added a new field containing one of the values of FIELD.
Source Code
;; Defined in /usr/src/emacs/lisp/net/eudc.el.gz
(defun eudc-distribute-field-on-records (field records)
"Duplicate each individual record in RECORDS according to value of FIELD.
Each copy is added a new field containing one of the values of FIELD."
(let (result)
(dolist (value (delete-dups (cdr field))) ;; Uniquify values first.
(setq result (nconc (eudc-add-field-to-records
(cons (car field) value)
records)
result)))
result))