emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 15b6d72599b: ; * etc/NEWS: How to fix old code that uses vectors


From: Eli Zaretskii
Subject: master 15b6d72599b: ; * etc/NEWS: How to fix old code that uses vectors as obarrays.
Date: Sat, 24 Feb 2024 02:22:15 -0500 (EST)

branch: master
commit 15b6d72599b961ebe23e820e44ba2ffc12e49c31
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * etc/NEWS: How to fix old code that uses vectors as obarrays.
---
 etc/NEWS | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/etc/NEWS b/etc/NEWS
index 5653b51784f..6acafe6ea4a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2025,6 +2025,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.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]