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

Symbol's function definition is void: smex-major-mode-commands #40

Closed
Inops opened this issue Apr 25, 2014 · 1 comment
Closed

Symbol's function definition is void: smex-major-mode-commands #40

Inops opened this issue Apr 25, 2014 · 1 comment

Comments

@Inops
Copy link

Inops commented Apr 25, 2014

Hi,
I think I've found a bug. I'm using 24.3.1 from Cassou's PPA, with the latest smex from MELPA. If you call "smex-major-mode-commands" before the "smex" function, you are returned the error "Symbol's function definition is void: smex-major-mode-commands".

I've found a way round this by changing smex-major-mode-commands:

  • add an ;;;###autoload
  • and add
(unless smex-initialized-p
    (smex-initialize))

after "(interactive)"

Regards, Jordan. (BTW I've never used pull requests before, so I thought I'd just do this).

@nonsequitur
Copy link
Owner

Hi Jordan, thanks for the report. Here comes the fix.

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

No branches or pull requests

2 participants