Function: read-extended-command--affixation
read-extended-command--affixation is a byte-compiled function defined
in simple.el.gz.
Signature
(read-extended-command--affixation COMMAND-NAMES)
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun read-extended-command--affixation (command-names)
(with-selected-window (or (minibuffer-selected-window) (selected-window))
(mapcar
(lambda (command-name)
(let* ((fun (and (stringp command-name) (intern-soft command-name)))
(binding (where-is-internal fun overriding-local-map t))
(obsolete (get fun 'byte-obsolete-info))
(alias (symbol-function fun))
(suffix (cond ((symbolp alias)
(format " (%s)" alias))
(obsolete
(format " (%s)" (car obsolete)))
((and binding (not (stringp binding)))
(format " (%s)" (key-description binding)))
(t ""))))
(put-text-property 0 (length suffix)
'face 'completions-annotations suffix)
(list command-name "" suffix)))
command-names)))