Skip to content

Use customize to simplify startup#12

Open
haxney wants to merge 5 commits intononsequitur:masterfrom
haxney:customize
Open

Use customize to simplify startup#12
haxney wants to merge 5 commits intononsequitur:masterfrom
haxney:customize

Conversation

@haxney
Copy link
Contributor

@haxney haxney commented May 4, 2012

By using define-minor-mode with an autoload cookie, smex can be loaded and initialized purely through Customize.

The old smex-initialize function has been removed, as its functionality is handled entirely within smex-mode.

This resolves issue #11

haxney added 5 commits May 3, 2012 19:03
Sets up the keymap for smex and can be set through `customize'. This can be used
instead of `smex-initialize'.
`[M-X]' just gets translated to "M-x"; to get the intended effect of "M-X", the
format is `[?\M-X]'
The custom variables `smex-save-file' and `smex-history-length' no longer need
to be set early on. Initialization only takes place when `smex-mode' is turned
on, so those variables are read at that point (which is after customize has read
the values).
Their functionality is handled by `smex-mode'.
@asmeurer
Copy link

You should maybe keep smex-initialize for backwards compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants