Function: marginalia-annotate-command
marginalia-annotate-command is a natively 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 /nix/store/hym71by08nv7fpgl7asan3dvidx05yya-emacs-packages-deps/share/emacs/site-lisp/elpa/marginalia-20260926.1228/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)))))