Ihor Radchenko <[email protected]> writes:

> Morgan Smith <[email protected]> writes:
>
>> ... I'd be
>> interested in knowing how you figure out what functions are available in
>> what versions of Emacs.
>
> Some functions have this information in help buffer.
> But in most cases, I simply run emacs-28, emacs-29, emacs-30, ...
> and check if a given function is available.
>
> Another possibility is checking git history on function source in Emacs
> git sources.

Two other useful sources:

1. Package-Lint: https://github.com/purcell/package-lint
2. Compat manual: https://elpa.gnu.org/packages/doc/compat.html

Compat will also ease maintenance this way - for each new Emacs/Compat
you can check the newly supported functionality and adopt it in Org.

Also I recommend to run CI on all supported Emacs versions and use
Package-Lint. Package-Lint has dedicated Compat support and will tell
you if you use a function which is not supported by the baseline Emacs
version (28.2 in Org as of now) or Compat.

Daniel

Reply via email to