]> git.eshelyaron.com Git - emacs.git/commitdiff
; * etc/NEWS: How to fix old code that uses vectors as obarrays.
authorEli Zaretskii <eliz@gnu.org>
Sat, 24 Feb 2024 07:21:35 +0000 (09:21 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:50:27 +0000 (18:50 +0100)
(cherry picked from commit 15b6d72599b961ebe23e820e44ba2ffc12e49c31)

etc/NEWS

index 96759669914476ec744578d698ea00d5926072c7..dbfff86727ac5f275b80a75c073437494e4c6986 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2181,6 +2181,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.