Subject: Re: bug#45438: 27.1; please fix misleading documentation for assoc-delete-all

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 25 Dec 2020 23:32:05 +0100

Hendrik Tews <[email-masked]> writes:

> assoc-delete-all was introduced in emacs 26.2, however,
> describe-function says "Probably introduced at or before Emacs
> version 21.1.". Please fix this to report the right version
> number where assoc-delete-all was introduced. With this kind of
> misleading information, it is very difficult to write code that
> is backward compatible to a number of different emacs major
> versions.

Indeed, but Emacs does not have a history of when functions are
introduced -- we only have guesswork.  Which is why it says "probably".

assoc-delete-all has a convoluted history -- it was introduced in 1999,
and then renamed to assq-delete-all, before being reintroduced in 2018
again.  Here the guesser guesses wrong.

Closing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no