Function: cider--find-symbol-xref

cider--find-symbol-xref is a byte-compiled function defined in cider-util.el.

Signature

(cider--find-symbol-xref)

Documentation

Parse and return the first clojure symbol in current buffer.

Use cider-doc-xref-regexp for the search. Set match data and return a string of the Clojure symbol. Return nil if there are no more matches in the buffer.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-util.el
(defun cider--find-symbol-xref ()
  "Parse and return the first clojure symbol in current buffer.
Use `cider-doc-xref-regexp' for the search.  Set match data and return a
string of the Clojure symbol.  Return nil if there are no more matches in
the buffer."
  (when (re-search-forward cider-doc-xref-regexp nil t)
    (match-string 1)))