PREDICATE or FUNCTION. See also `map-extents'."
(let (*result*)
(map-extents (if predicate
- #'(lambda (ex junk)
- (and (funcall predicate ex)
- (setq *result* (cons (funcall function ex)
- *result*)))
- nil)
- #'(lambda (ex junk)
- (setq *result* (cons (funcall function ex)
- *result*))
- nil))
- buffer-or-string from to nil flags property value)
+ #'(lambda (ex junk)
+ (and (funcall predicate ex)
+ (setq *result* (cons (funcall function ex)
+ *result*)))
+ nil)
+ #'(lambda (ex junk)
+ (setq *result* (cons (funcall function ex)
+ *result*))
+ nil))
+ buffer-or-string from to nil flags property value)
(nreverse *result*)))
(defun extent-list (&optional buffer-or-string from to flags property value)