Function: marginalia-annotate-embark-keybinding

marginalia-annotate-embark-keybinding is a byte-compiled function defined in marginalia.el.

Signature

(marginalia-annotate-embark-keybinding CAND)

Documentation

Annotate Embark keybinding CAND with its documentation string.

Similar to marginalia-annotate-command, but does not show the keybinding since CAND includes it.

Source Code

;; Defined in ~/.emacs.d/elpa/marginalia-20260724.810/marginalia.el
(defun marginalia-annotate-embark-keybinding (cand)
  "Annotate Embark keybinding CAND with its documentation string.
Similar to `marginalia-annotate-command', but does not show the
keybinding since CAND includes it."
  (when-let* ((cmd (get-text-property 0 'embark-command cand))
              ((symbolp cmd)))
    (marginalia--documentation (marginalia--function-doc cmd))))