Function: cider-eldoc-request

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

Signature

(cider-eldoc-request &key SYM CLASS MEMBER CONTEXT)

Documentation

Send "eldoc" op with parameters SYM or CLASS and MEMBER, honor CONTEXT.

This is the keyword-argument form; cider-sync-request:eldoc is the legacy positional shim retained for backward compatibility.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-client.el
(cl-defun cider-eldoc-request (&key sym class member context)
  "Send \"eldoc\" op with parameters SYM or CLASS and MEMBER, honor CONTEXT.

This is the keyword-argument form; `cider-sync-request:eldoc' is the legacy
positional shim retained for backward compatibility."
  (when-let* ((eldoc (thread-first `("op" "cider/eldoc"
                                     "ns" ,(cider-current-ns)
                                     ,@(when sym `("sym" ,sym))
                                     ,@(when class `("class" ,class))
                                     ,@(when member `("member" ,member))
                                     ,@(when context `("context" ,context)))
                                   (cider-nrepl-sync-request :connection (cider-current-repl)
                                                            :abort-on-input 'abort-on-input))))
    (if (member "no-eldoc" (nrepl-dict-get eldoc "status"))
        nil
      eldoc)))