From: Mattias EngdegÄrd Date: Sat, 24 Feb 2024 10:43:28 +0000 (+0100) Subject: ; * etc/NEWS: Recommend obarray-make as correct replacement. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=49c21c736a88a19d5085c5612b13555850ae5cd5;p=emacs.git ; * etc/NEWS: Recommend obarray-make as correct replacement. (cherry picked from commit 1972beda6de3d6895cc197dc292721ca963b234c) --- diff --git a/etc/NEWS b/etc/NEWS index dbfff86727a..6f1dc4ae37e 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2181,13 +2181,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.