Variable: suggest-key-bindings
suggest-key-bindings is a customizable variable defined in
simple.el.gz.
Value
t
Documentation
Non-nil means show the equivalent keybinding when M-x (execute-extended-command) has one.
The value can be a length of time to show the message for. If the value is non-nil and not a number, we wait 2 seconds.
Also see extended-command-suggest-shorter.
Equivalent key-bindings are also shown in the completion list of
M-x (execute-extended-command) for all commands that have them.
Probably introduced at or before Emacs version 19.30.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defcustom suggest-key-bindings t
"Non-nil means show the equivalent keybinding when \
\\[execute-extended-command] has one.
The value can be a length of time to show the message for.
If the value is non-nil and not a number, we wait 2 seconds.
Also see `extended-command-suggest-shorter'.
Equivalent key-bindings are also shown in the completion list of
\\[execute-extended-command] for all commands that have them."
:group 'keyboard
:type '(choice (const :tag "off" nil)
(natnum :tag "time" 2)
(other :tag "on")))