>> When loading a byte-compiled file that used define-generic-mode, I
>> think you'll get an error that generic-mode-list is not defined
>> (because generic.el doesn't get loaded: the autoload caused
>> generic.el to be loaded during byte-compilation, but it doesn't have
>> any such effect when loading the macro-expanded code).

> Good point.  The same goes for calling generic-mode-internal.  I'll
> add autoload cookies to generic-mode-list and generic-mode-internal.

Maybe a better choice is to put a (require 'generic) in the macro
expanded code.


        Stefan



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to