I just installed evil-mode
from melpa and when the installation finishes I get the message ad-handle-definition: 'evil-mode' got redefined
.
I can then enable evil-mode
but get the same warning. But the next time I open emacs and try to enable evil-mode
I get this error: Autoloading failed to define function evil-mode
Searching around leads me to understand basically that somewhere along the line evil-mode gets redefined or lost, but I don't know where to start in debugging this.
I've tested:
- Removing
evil
through the package manager and reinstalling - Removing the
evil-<date>
folder from the elpa packages and reinstalling - Installing the package from marmalade. I don't get the
ad-handle-definition
error then, but I still getAutoloading failed to define function evil-mode
I'm using emacs version 24.4.1 on OSX.
It kinda feels as if emacs is trying to tell me something behaving like this. ^^
ad-handle-definition: 'evil-mode' got redefined
isn't an error. This happens when some advice forevil-mode
has been evaluated in advance ofevil-mode
itself being defined or loaded. When the function is defined, the existing advice immediately redefines it, and Emacs provides notice that this has happened. If the advice is instead evaluated afterwards, this notice will not occur. – phils Apr 14 '16 at 05:15