Subject: Re: bug#77923: 30.1; intern raises error when called with optional argument

From: Eli Zaretskii <[email-masked]>
Date: Sat, 19 Apr 2025 15:57:35 +0300

tags 77923 notabug
thanks

> Date: Sat, 19 Apr 2025 15:26:46 +0300
> From:  Nil Geisweiller via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <[email-masked]>
> 
> Evaluating the expression below, using for instance M-:
> 
> (intern "abc" [nil])
> 
> raises the following error
> 
> (wrong-type-argument obarrayp [nil])
> 
> On the other hand, under Emacs 29.4, it outputs abc as expected.

It's a deliberate change in Emacs 30, see NEWS.  You need to pass a
real obarray.  Use obarray-make to create one.