[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: Implement subfeatures in packages
From: |
Drew Adams |
Subject: |
RE: [External] : Re: Implement subfeatures in packages |
Date: |
Sun, 4 Aug 2024 20:44:18 +0000 |
> > > I want a package "tema" to provide subfeatures "lumi" and "mast"
> > > (provide 'tema '(lumi mast))
> > > And set up files "lumi.el" and "mast.el" for the subfeatures.
> > > Each of the two will include a "provide" clause at the end.
> > >
> > > What would the provide clause look like ?
> >
> >
> > In lumi.el:
> > (provide 'tema '(lumi))
> >
> > In tema.el:
> > (provide 'tema '(mast))
> >
> > Elsewhere:
> > (require 'tema)
>
> Would it be correct for "tema.el" to end with the clause
> (provide 'tema '(lumi mast))
Correct? You can do anything you want to.
Using that says that the file it's in provides
feature tema and subfeatures lumi and mast.
If that's what you want to convey, then do it.
Implement subfeatures in packages, Heime, 2024/08/05