Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix keymap format for `smex-major-mode-commands'

`[M-X]' just gets translated to "M-x"; to get the intended effect of "M-X", the
format is `[?\M-X]'
  • Loading branch information...
commit f6fc9b4dadb54e6b2be94b313e3161481af64572 1 parent 7cf2a15
@haxney authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  smex.el
2  smex.el
@@ -102,7 +102,7 @@ Setting this variable directly does not take effect; use either
:global t
:require 'smex
:keymap '(([remap execute-extended-command] . smex)
- ([M-X] . smex-major-mode-commands))
+ ([?\M-X] . smex-major-mode-commands))
(if smex-mode
(unless ido-mode (ido-common-initialization))
Please sign in to comment.
Something went wrong with that request. Please try again.