From 49c21c736a88a19d5085c5612b13555850ae5cd5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Sat, 24 Feb 2024 11:43:28 +0100 Subject: [PATCH] ; * etc/NEWS: Recommend obarray-make as correct replacement. (cherry picked from commit 1972beda6de3d6895cc197dc292721ca963b234c) --- etc/NEWS | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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. -- 2.39.5