Function: org-find-overlays
org-find-overlays is a byte-compiled function defined in
org-macs.el.gz.
Signature
(org-find-overlays PROP &optional POS DELETE)
Documentation
Find all overlays specifying PROP at POS or point.
If DELETE is non-nil, delete all those overlays.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-macs.el.gz
(defun org-find-overlays (prop &optional pos delete)
"Find all overlays specifying PROP at POS or point.
If DELETE is non-nil, delete all those overlays."
(let (found)
(dolist (ov (overlays-at (or pos (point))) found)
(cond ((not (overlay-get ov prop)))
(delete (delete-overlay ov))
(t (push ov found))))))