Function: cider-eldoc-format-special-form
cider-eldoc-format-special-form is a byte-compiled function defined in
cider-eldoc.el.
Signature
(cider-eldoc-format-special-form THING POS ELDOC-INFO)
Documentation
Return the formatted eldoc string for a special-form.
THING is the special form's name. POS is the argument index of the special-form's 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-special-form (thing pos eldoc-info)
"Return the formatted eldoc string for a special-form.
THING is the special form's name. POS is the argument index of the
special-form's arglists. ELDOC-INFO is a p-list containing the eldoc
information."
(let* ((ns (cider-plist-get eldoc-info "ns"))
(special-form-symbol (cider-plist-get eldoc-info "symbol"))
(arglists (mapcar (lambda (arglist)
(if (equal (car arglist) special-form-symbol)
(cdr arglist)
arglist))
(cider-plist-get eldoc-info "arglists"))))
(format "%s: %s"
(cider-eldoc-format-thing ns special-form-symbol thing 'fn)
(cider-eldoc-format-arglist arglists pos))))