; * etc/NEWS: How to fix old code that uses vectors as obarrays.

This commit is contained in:
Eli Zaretskii 2024-02-24 09:21:35 +02:00
parent c7a2b7d023
commit 15b6d72599

View file

@ -2025,6 +2025,14 @@ 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.
+++
*** New function 'obarray-clear' removes all symbols from an obarray.