[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lisp/generic.el patch.

From: Stefan Monnier
Subject: Re: lisp/generic.el patch.
Date: Tue, 15 Mar 2005 15:52:40 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]