Function: cider--anchored-search-suppressed-forms
cider--anchored-search-suppressed-forms is a byte-compiled function
defined in cider-mode.el.
Signature
(cider--anchored-search-suppressed-forms LIMIT)
Documentation
Matcher for finding unused reader conditional expressions.
An unused reader conditional expression is an expression for a platform that does not match the CIDER connection for the buffer. Search is done with the given LIMIT.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-mode.el
(defun cider--anchored-search-suppressed-forms (limit)
"Matcher for finding unused reader conditional expressions.
An unused reader conditional expression is an expression for a platform
that does not match the CIDER connection for the buffer. Search is done
with the given LIMIT."
(let ((repl-types (seq-uniq (seq-map
(lambda (repl)
(symbol-name (cider-repl-type repl)))
(cider-repls))))
(result 'retry))
(while (and (eq result 'retry) (<= (point) limit))
(condition-case condition
(setq result
(cider--anchored-search-suppressed-forms-internal
repl-types limit))
(invalid-read-syntax
(setq result 'retry))
(wrong-type-argument
(setq result 'retry))
(scan-error
(setq result 'retry))
(end-of-file
(setq result nil))
(error
(setq result nil)
(message
"Error during fontification while searching for forms: %S"
condition))))
(if (eq result 'retry) (setq result nil))
result))