Function: cider--help-echo
cider--help-echo is a byte-compiled function defined in cider-mode.el.
Signature
(cider--help-echo _ OBJ POS)
Documentation
Return the help-echo string for OBJ at POS.
See (info "(elisp) Special Properties")
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-mode.el
(defun cider--help-echo (_ obj pos)
"Return the help-echo string for OBJ at POS.
See \(info \"(elisp) Special Properties\")"
(while-no-input
(when (and (bufferp obj)
(cider-connected-p)
cider-use-tooltips
(not (eq help-at-pt-display-when-idle t)))
(with-current-buffer obj
(ignore-errors
(save-excursion
(goto-char pos)
(when-let* ((sym (cider-symbol-at-point)))
(if (member sym (get-text-property (point) 'cider-locals))
(concat (format "`%s' is a local" sym)
(when cider--debug-mode
(let* ((locals (nrepl-dict-get cider--debug-mode-response "locals"))
(local-val (cadr (assoc sym locals))))
(format " with value:\n%s" local-val))))
(let* ((info (cider-sync-request:info sym nil nil (cider-completion-get-context t)))
(candidates (nrepl-dict-get info "candidates")))
(if candidates
(concat "There were ambiguities resolving this symbol:\n\n"
(mapconcat (lambda (x) (cider--docview-as-string sym x))
candidates
(concat "\n\n" (make-string 60 ?-) "\n\n")))
(cider--docview-as-string sym info)))))))))))