[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compat.el and Emacs unstable master branch features (was: bug#63513:
From: |
Joseph Turner |
Subject: |
Re: compat.el and Emacs unstable master branch features (was: bug#63513: [PATCH] Make persist-defvar work with records and hash tables) |
Date: |
Sat, 09 Sep 2023 09:52:06 -0700 |
Daniel Mendler <mail@daniel-mendler.de> writes:
> I suggest to copy new functions temporarily to the package in question
> with an fboundp check, with an additional TODO comment. We can
> synchronize with Compat afterwards. Providing a public API won't work
> since Compat is not included in Emacs itself. A design criterion of
> Compat is also to keep the public API surface as small as possible.
fboundp won't work here because copy-tree is available in earlier
versions of Emacs. Since its behavior changed in 30, we could do a
version check + TODO comment?