]> git.eshelyaron.com Git - emacs.git/commitdiff
; * etc/NEWS: Recommend obarray-make as correct replacement.
authorMattias EngdegÄrd <mattiase@acm.org>
Sat, 24 Feb 2024 10:43:28 +0000 (11:43 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:51:55 +0000 (18:51 +0100)
(cherry picked from commit 1972beda6de3d6895cc197dc292721ca963b234c)

etc/NEWS

index dbfff86727ac5f275b80a75c073437494e4c6986..6f1dc4ae37e697ab22437cae6aa6335463806cc0 100644 (file)
--- 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.