emacs-devel
[Top][All Lists]
Advanced

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

Re: Appropriate way for package to require seq for Emacs 24.5?


From: William Rankin
Subject: Re: Appropriate way for package to require seq for Emacs 24.5?
Date: Thu, 26 Mar 2020 10:39:03 +1000
User-agent: mu4e 1.2.0; emacs 27.0.90

On Thu, Mar 26 2020, Stefan Monnier wrote:

>>> Package-Requires: ((emacs "24.5") (seq "2.20"))
>>
>> However, I see in the seq commentary:
>>
>>> While seq.el version 1.8 is in GNU ELPA for convenience, seq.el
>>> version 2.0 requires Emacs>=25.1.
>>
>> Am I correct in interpreting that the above package header would not
>> work with 24.5?
>
> AFAICT it would work fine in 24.5: package seq-2.20 does not require
> Emacs-25, instead it comes with both the "old" API for Emacs-24 and the
> new API for Emacsā‰„25 (concretely these are divided into two files
> (seq-24.el and seq-25.el) which are the two alternative implementations:
> the API is slightly different because seq-25.el uses cl-generic so it
> can be used with sequences other than lists, vectors, and strings).

Cool, thank you.



reply via email to

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