Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use customize to simplify startup #12

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

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