; * etc/NEWS: Recommend obarray-make as correct replacement.
This commit is contained in:
parent
477eb882b5
commit
1972beda6d
1 changed files with 3 additions and 7 deletions
10
etc/NEWS
10
etc/NEWS
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue