Function: help--describe-command
help--describe-command is a byte-compiled function defined in
help.el.gz.
Signature
(help--describe-command DEFINITION &optional TRANSLATION)
Aliases
help--describe-translation (obsolete since 29.1)
Source Code
;; Defined in /usr/src/emacs/lisp/help.el.gz
(defun help--describe-command (definition &optional translation)
(cond ((or (stringp definition) (vectorp definition))
(if translation
(insert (concat (key-description definition nil)
(when-let* ((char-name (char-to-name (aref definition 0))))
(format "\t%s" char-name))
"\n"))
;; These should be rare nowadays, replaced by `kmacro's.
(insert "Keyboard Macro\n")))
((keymapp definition)
(insert "Prefix Command\n"))
(t (insert (help-fns-function-name definition) "\n"))))