Function: marginalia-annotate-command
marginalia-annotate-command is a byte-compiled function defined in
marginalia.el.
Signature
(marginalia-annotate-command CAND)
Documentation
Annotate command CAND with its documentation string.
Similar to marginalia-annotate-symbol, but does not show symbol class.
Source Code
;; Defined in ~/.emacs.d/elpa/marginalia-20260724.810/marginalia.el
(defun marginalia-annotate-command (cand)
"Annotate command CAND with its documentation string.
Similar to `marginalia-annotate-symbol', but does not show symbol class."
(when-let* ((sym (intern-soft cand)))
(concat
(marginalia-annotate-binding cand)
(marginalia--documentation (marginalia--function-doc sym)))))