Function: flymake--intersects-p
flymake--intersects-p is a byte-compiled function defined in
flymake.el.gz.
Signature
(flymake--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/progmodes/flymake.el.gz
;; FIXME: clone of `isearch-intersects-p'! Make this an util.
(defun flymake--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))))