Function: cider-sync-request:lookup
cider-sync-request:lookup is a byte-compiled function defined in
cider-client.el.
Signature
(cider-sync-request:lookup SYMBOL &optional LOOKUP-FN)
Documentation
Send "lookup" op request with parameters SYMBOL and LOOKUP-FN.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-client.el
(defun cider-sync-request:lookup (symbol &optional lookup-fn)
"Send \"lookup\" op request with parameters SYMBOL and LOOKUP-FN."
(let ((var-info (thread-first `("op" "lookup"
"ns" ,(cider-current-ns)
,@(when symbol `("sym" ,symbol))
,@(when lookup-fn `("lookup-fn" ,lookup-fn)))
(cider-nrepl-send-sync-request (cider-current-repl)))))
(if (member "lookup-error" (nrepl-dict-get var-info "status"))
nil
(nrepl-dict-get var-info "info"))))