[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.
- RE: return first element in list with certain property, (continued)
- Re: return first element in list with certain property, Emanuel Berg, 2017/11/21
- Message not available
- Re: return first element in list with certain property, James K. Lowden, 2017/11/21
- Re: return first element in list with certain property, Michael Heerdegen, 2017/11/22
- Re: return first element in list with certain property, Emanuel Berg, 2017/11/22
- Re: return first element in list with certain property, Rusi, 2017/11/22
- Re: return first element in list with certain property, Nicolas Petton, 2017/11/22
- Re: return first element in list with certain property, Emanuel Berg, 2017/11/22
- Re: return first element in list with certain property,
Michael Heerdegen <=
- Re: return first element in list with certain property, Emanuel Berg, 2017/11/22
- Re: return first element in list with certain property, John Mastro, 2017/11/24
- Re: return first element in list with certain property, Robert Thorpe, 2017/11/24
- Re: return first element in list with certain property, Alexis, 2017/11/24
- Re: return first element in list with certain property, tomas, 2017/11/25
- Re: return first element in list with certain property, Emanuel Berg, 2017/11/25
- Re: return first element in list with certain property, Eli Zaretskii, 2017/11/25
- Re: return first element in list with certain property, tomas, 2017/11/25
- Re: return first element in list with certain property, John Mastro, 2017/11/25
- Re: return first element in list with certain property, Emanuel Berg, 2017/11/25