Function: cider-find-property

cider-find-property is a byte-compiled function defined in cider-eval.el.

Signature

(cider-find-property PROPERTY &optional BACKWARD)

Documentation

Find the next text region which has the specified PROPERTY.

If BACKWARD is t, then search backward. Returns the position at which PROPERTY was found, or nil if not found.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eval.el
;;; Dealing with compilation (evaluation) errors and warnings
(defun cider-find-property (property &optional backward)
  "Find the next text region which has the specified PROPERTY.
If BACKWARD is t, then search backward.
Returns the position at which PROPERTY was found, or nil if not found."
  (let ((p (if backward
               (previous-single-char-property-change (point) property)
             (next-single-char-property-change (point) property))))
    (when (and (not (= p (point-min))) (not (= p (point-max))))
      p)))