Function: cider-xref--show-fn-relation
cider-xref--show-fn-relation is a byte-compiled function defined in
cider-xref.el.
Signature
(cider-xref--show-fn-relation NS SYMBOL REQUEST-FN SUMMARY-FMT NOUN)
Documentation
Show the functions related to the var matching NS and SYMBOL via REQUEST-FN.
NS and SYMBOL default to the current namespace and the symbol at point. Display the results with a summary built from SUMMARY-FMT (given the result count and the symbol). NOUN names the relation for the no-results report.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-xref.el
(defun cider-xref--show-fn-relation (ns symbol request-fn summary-fmt noun)
"Show the functions related to the var matching NS and SYMBOL via REQUEST-FN.
NS and SYMBOL default to the current namespace and the symbol at point.
Display the results with a summary built from SUMMARY-FMT (given the result
count and the symbol). NOUN names the relation for the no-results report."
(let ((ns (or ns (cider-current-ns)))
(symbol (or symbol (cider-symbol-at-point))))
(unless symbol (user-error "No symbol at point"))
(if-let* ((results (funcall request-fn ns symbol)))
(cider-show-xref (format summary-fmt (length results) symbol) results)
(cider-xref--report-no-results symbol noun))))