ewoc-collect

ewoc-collect is a compiled Lisp function in `ewoc.el'.

(ewoc-collect EWOC PREDICATE &rest ARGS)

Select elements from EWOC using PREDICATE.
Return a list of all selected data elements.
PREDICATE is a function that takes a data element as its first
argument. The elements on the returned list will appear in the
same order as in the buffer. You should not rely on the order of
calls to PREDICATE.
Note that the buffer the EWOC is displayed in is the current
buffer when PREDICATE is called. PREDICATE must restore it if it
changes it.
If more than two arguments are given the
remaining arguments will be passed to PREDICATE.