; * etc/NEWS: Recommend obarray-make as correct replacement.

This commit is contained in:
Mattias Engdegård 2024-02-24 11:43:28 +01:00
parent 477eb882b5
commit 1972beda6d

View file

@ -2025,13 +2025,9 @@ The old vector representation is still accepted by functions operating
on obarrays, but 'obarrayp' only returns 't' for obarray objects.
'type-of' now returns 'obarray' for obarray objects.
If you have code which creates obarrays as a simple Lisp vector:
(make-vector N nil)
and then calls 'intern' using such an obarray as second argument, this
will now signal a wrong-type-argument error; replace nil with zero to
make it work again.
Old code which incorrectly created "obarrays" as Lisp vectors filled
with something other than 0, as in '(make-vector N nil)', will no longer
work at all and should be rewritten to use 'obarray-make'.
+++
*** New function 'obarray-clear' removes all symbols from an obarray.