tags 29399 + patch quit Drew Adams writes: > UNLESS the user (or `smex-mode' or whatever) actually > substitutes `smex' for `execute-extended-command' keys, > using remapping or using `substitute-key-definition'. Ah, I didn't realize before, but if you do (define-key global [remape execute-extended-command] 'smex) then substitute-command-keys still shows M-x for \\[execute-extended-command]. The following patch updates the prompt, and also the checks non-remapped key bindings for the key sequence entered.