Function: cider-eldoc-setup
cider-eldoc-setup is a byte-compiled function defined in
cider-eldoc.el.
Signature
(cider-eldoc-setup)
Documentation
Setup eldoc in the current buffer.
eldoc mode has to be enabled for this to have any effect.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-eldoc.el
(defun cider-eldoc-setup ()
"Setup eldoc in the current buffer.
eldoc mode has to be enabled for this to have any effect."
;; Emacs 28.1 changes the way eldoc is setup.
;; There you can have multiple eldoc functions.
(if (boundp 'eldoc-documentation-functions)
(add-hook 'eldoc-documentation-functions #'cider-eldoc nil t)
(setq-local eldoc-documentation-function #'cider-eldoc))
(apply #'eldoc-add-command cider-extra-eldoc-commands))