Function: cider-eldoc-info

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

Signature

(cider-eldoc-info THING)

Documentation

Return the eldoc info plist for THING, synchronously.

This includes the arglist and ns and symbol name (if available). On the eldoc hot path prefer cider-eldoc-info-async, which doesn't block; this synchronous variant is kept for callers like company's docsig that need an immediate result.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-eldoc.el
(defun cider-eldoc-info (thing)
  "Return the eldoc info plist for THING, synchronously.
This includes the arglist and ns and symbol name (if available).  On the
eldoc hot path prefer `cider-eldoc-info-async', which doesn't block; this
synchronous variant is kept for callers like company's docsig that need an
immediate result."
  (let ((thing (cider-eldoc--convert-ns-keywords thing)))
    (when (cider-eldoc--lookup-applicable-p thing)
      (or (cider-eldoc--local-info thing)
          (when-let* ((eldoc-info (cider-eldoc-request
                                   :sym thing
                                   :context (cider-completion-get-context t))))
            (cider-eldoc--build-info thing eldoc-info))))))