Function: cider--debug-display-result-overlay
cider--debug-display-result-overlay is a byte-compiled function
defined in cider-debug.el.
Signature
(cider--debug-display-result-overlay VALUE CAUGHT)
Documentation
Place an overlay at point displaying VALUE.
When CAUGHT is non-nil, display it as an error message overlay.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-debug.el
(defun cider--debug-display-result-overlay (value caught)
"Place an overlay at point displaying VALUE.
When CAUGHT is non-nil, display it as an error message overlay."
(when cider-debug-use-overlays
;; This is cosmetic, let's ensure it doesn't break the session no matter what.
(ignore-errors
;; Result
(cider--make-result-overlay (or caught (cider-font-lock-as-clojure value))
:where (point-marker)
:type 'debug-result
:prepend-face (if caught 'cider-error-overlay-face
'cider-result-overlay-face)
'before-string cider--fringe-arrow-string)
;; Code
(cider--make-overlay (save-excursion (clojure-backward-logical-sexp 1) (point))
(point) 'debug-code
'face 'cider-debug-code-overlay-face
;; Higher priority than `show-paren'.
'priority 2000))))