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 K)

Documentation

Compute eldoc information from the sexp and call K with the plist (or nil).

If cider-eldoc-display-for-symbol-at-point is non-nil and the symbol at point has a valid eldoc, use that; otherwise use the first symbol of the sexp.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-eldoc.el
(defun cider-eldoc-info-in-current-sexp (k)
  "Compute eldoc information from the sexp and call K with the plist (or nil).
If `cider-eldoc-display-for-symbol-at-point' is non-nil and the symbol at
point has a valid eldoc, use that; otherwise use the first symbol of the sexp."
  (if cider-eldoc-display-for-symbol-at-point
      (cider-eldoc-info-at-point
       (lambda (info)
         (if info
             (funcall k info)
           (cider-eldoc-info-at-sexp-beginning k))))
    (cider-eldoc-info-at-sexp-beginning k)))