Function: cider-repl--help-key
cider-repl--help-key is a byte-compiled function defined in
cider-repl.el.
Signature
(cider-repl--help-key COMMAND KEYMAP)
Documentation
Return a display key for COMMAND in KEYMAP, or an extended-command form.
KEYMAP is a symbol whose value is a keymap. Only that keymap is searched (not its parents), since the refcard sections list commands bound directly in it.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-repl.el
(defun cider-repl--help-key (command keymap)
"Return a display key for COMMAND in KEYMAP, or an extended-command form.
KEYMAP is a symbol whose value is a keymap. Only that keymap is searched (not
its parents), since the refcard sections list commands bound directly in it."
(if-let* ((km (and (boundp keymap) (symbol-value keymap)))
(key (where-is-internal command (list km) t)))
(key-description key)
(format "M-x %s" command)))