[Top][All Lists]

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

Re: Generalizing find-definition

From: David Engster
Subject: Re: Generalizing find-definition
Date: Thu, 11 Dec 2014 20:21:35 +0100
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.91 (gnu/linux)

Helmut Eller writes:
>> Too bad that classes can't be autoloaded.

They can. CEDET does that all the time.

>   ;;;###autoload (autoload 'etags-xref-backend "etags")
>   (defclass etags-xref-backend (xref-backend-class eieio-singleton) ())

Uhm, did you try to simply putting ";;;###autoload" before a class
definition? It should work just fine (through

However, there *is* a problem with autoloading classes, namely that
EIEIO should not be loaded at Emacs startup. This is why this feature is
currently restricted to the CEDET subsystem which is only loaded when
you activate Semantic or EDE.


reply via email to

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