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: Stefan Monnier
Subject: Re: Appropriate way for package to require seq for Emacs 24.5?
Date: Wed, 25 Mar 2020 14:46:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> 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).


        Stefan




reply via email to

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