Function: cider-eldoc-format-function

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

Signature

(cider-eldoc-format-function THING POS ELDOC-INFO)

Documentation

Return the formatted eldoc string for a function.

THING is the function name. POS is the argument-index of the functions arglists. ELDOC-INFO is a p-list containing the eldoc information.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eldoc.el
(defun cider-eldoc-format-function (thing pos eldoc-info)
  "Return the formatted eldoc string for a function.
THING is the function name.  POS is the argument-index of the functions
arglists.  ELDOC-INFO is a p-list containing the eldoc information."
  (let ((ns (cider-plist-get eldoc-info "ns"))
        (symbol (cider-plist-get eldoc-info "symbol"))
        (arglists (cider-plist-get eldoc-info "arglists")))
    (format "%s: %s"
            (cider-eldoc-format-thing ns symbol thing 'fn)
            (cider-eldoc-format-arglist arglists pos))))