Function: cider-eldoc-info-in-current-sexp

cider-eldoc-info-in-current-sexp is a byte-compiled function defined in cider-eldoc.el.

Signature

(cider-eldoc-info-in-current-sexp)

Documentation

Return eldoc information from the sexp.

If cider-eldoc-display-for-symbol-at-point is non-nil and the symbol at point has a valid eldoc available, return that. Otherwise return the eldoc of the first symbol of the sexp.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eldoc.el
(defun cider-eldoc-info-in-current-sexp ()
  "Return eldoc information from the sexp.
If `cider-eldoc-display-for-symbol-at-point' is non-nil and
the symbol at point has a valid eldoc available, return that.
Otherwise return the eldoc of the first symbol of the sexp."
  (or (when cider-eldoc-display-for-symbol-at-point
        (cider-eldoc-info-at-point))
      (cider-eldoc-info-at-sexp-beginning)))