Function: cider--eval-pending-overlay-p

cider--eval-pending-overlay-p is a byte-compiled function defined in cider-eval.el.

Signature

(cider--eval-pending-overlay-p CALLBACK END)

Documentation

Return non-nil if a spinner overlay should mark a pending evaluation.

Only when the spinner is enabled, the result is bound for an overlay (see cider-eval-result-display), the default handler is in use (CALLBACK is nil) and the form's END position is known.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-eval.el
(defun cider--eval-pending-overlay-p (callback end)
  "Return non-nil if a spinner overlay should mark a pending evaluation.
Only when the spinner is enabled, the result is bound for an overlay (see
`cider-eval-result-display'), the default handler is in use (CALLBACK is
nil) and the form's END position is known."
  (and cider-show-spinner
       (null callback)
       (number-or-marker-p end)
       (memq (cider--eval-result-display) '(overlay both))))