Function: isearch-intersects-p
isearch-intersects-p is a byte-compiled function defined in
isearch.el.gz.
Signature
(isearch-intersects-p START0 END0 START1 END1)
Documentation
Return t if regions START0..END0 and START1..END1 intersect.
Source Code
;; Defined in /usr/src/emacs/lisp/isearch.el.gz
(defun isearch-intersects-p (start0 end0 start1 end1)
"Return t if regions START0..END0 and START1..END1 intersect."
(or (and (>= start0 start1) (< start0 end1))
(and (> end0 start1) (<= end0 end1))
(and (>= start1 start0) (< start1 end0))
(and (> end1 start0) (<= end1 end0))))