Bastien writes:

> Kévin Le Gouguec <kevin.legoug...@gmail.com> writes:
>
>> Bastien <b...@gnu.org> writes:
>>
>>>> - During the development of 9.4, AFAICT, while the "Version:" comment in
>>>>   org.el sayd "9.4-dev", the org-version variable matched the latest
>>>>   tag, i.e. 9.3.x.
>>>>
>>>>   I therefore couldn't figure out a way to check for 9.4
>>>>   programmatically.  
>>>
>>> ... because 9.4 is not yet released - or am I missing something?
>>
>> See Emacs's master branch for a counter-example: even though 28.1 is not
>> out yet, emacs-version says "28.0.50", so one can determine that they're
>> running on the master branch.
>
> Well, yes, but I find that confusing: "I'm using the 28.0.50 version,
> which looks like an officially released version, while it's not."

Can't you inspect the return value of org-git-version?  (Though in my
view, distinguishing based on the functionality present with things like
fboundp, which you mention below, is typically a better approach, if
possible.)

Reply via email to