Subject: Re: bug#76748: 31.0.50; `unload-feature' unbinds NEW-ALIAS and BASE-VARIABLE of variable alias

From: Stefan Monnier <[email-masked]>
Date: Wed, 12 Mar 2025 18:53:47 -0400

>> I think there is currently no such thing, no.
> Thanks.  So the way to go here would be to implement a function
> like that, presumably in eval.c (plus update of Elisp manual,
> NEWS, tests, etc.), and then use that function to fix function
> `unload-feature', correct?

Sounds right.  You could also choose to keep that function "internal"
and not document it in the manual/NEWS (like we did for
`internal-make-var-non-special`), mostly justified in case its semantics
is delicate/messy/ugly.

> I can give it a try, but please expect me asking more questions
> when it comes to Emacs C code ...

Sounds great!

        Stefan