help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: return first element in list with certain property


From: Michael Heerdegen
Subject: Re: return first element in list with certain property
Date: Thu, 23 Nov 2017 02:17:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Emanuel Berg <moasen@zoho.com> writes:

> How will this be expressed in the source?  Will plain `require' be
> enough?

No.

> There was talk in another post the package should "package-require" it
> so it will be installed automatically along with the package. But if
> there is a function to do this, I can't find it. And if there is, will
> it be transparent so it won't install anything unless necessary?

Sure, it won't.

You declare package dependencies in the package header - see (info
"(elisp) Simple Packages") - that's what I called "package-require".

You maybe want to read the whole (info "(elisp) Packaging").  Everything
is quite simple.


Michael.



reply via email to

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