emacs-diffs
[Top][All Lists]
Advanced

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

master 1972beda6de: ; * etc/NEWS: Recommend obarray-make as correct repl


From: Mattias Engdegård
Subject: master 1972beda6de: ; * etc/NEWS: Recommend obarray-make as correct replacement.
Date: Sat, 24 Feb 2024 05:53:28 -0500 (EST)

branch: master
commit 1972beda6de3d6895cc197dc292721ca963b234c
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    ; * etc/NEWS: Recommend obarray-make as correct replacement.
---
 etc/NEWS | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

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



reply via email to

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