Whoops. I may have accidentally sent half of this email previously. My apologies for the noise - I'm still learning git-send-email.
On Fri, Oct 31 2014, Frank Fischer wrote: > I do not know if it is possible to have something like an 'autoload > variable', i.e. as soon as a variable is customized Evil loads a > corresponding package. It is possible for functions (like the > `evil-mode` function), though. Yup, Emacs' autoload-generating functions can handle this case by default. The issue, as far as I can see, is that the current codebase manually configures the autoload cookie for `evil-mode'. The following patches work for me. Could a few folks test them? The first patch removes the manual configuration of the ;;;###autoload cookie on `evil-mode'. I also moved the definition into evil.el, so the whole package gets loaded when the function is called. The second patch is pure aesthetics. I removed the manual override to the `evil-mode' docstring, because the auto-generated one covers the same content plus additional info that's standard to include with globalized minor modes. -- Trevor Murphy, ASA, MAAA GnuPG Key: 0x83881C0A _______________________________________________ implementations-list mailing list [email protected] https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
