emacs-devel
[Top][All Lists]
Advanced

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

Re: Package Requiring a Commit?


From: Filipp Gunbin
Subject: Re: Package Requiring a Commit?
Date: Wed, 04 May 2022 15:59:56 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin)

On 04/05/2022 11:44 +0000, Jai Flack wrote:

> Greetings Emacs Developers,
>
> Is there a preferred way for a package to Package-Requires on an Emacs
> version more recent than the latest release? The context for this my
> package isearch-olc [1] which I would like to finish testing and submit
> for inclusion in GNU ELPA soon, however it requires
> lazy-count-update-hook which was only introduced in a recent-ish commit.
>
> Is the preferred solution to check for special-variable-p and error
> (possibly message on load and error on mode enable) if it hasn't been
> defined yet?

This should work, just use next version:

;; Package-Requires: ((emacs "29"))

Then people running Emacs which was built recently from master will be
able to install your package, because they're "already on 29".

Filipp



reply via email to

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