GNU bug report logs - #76748
31.0.50; `unload-feature' unbinds NEW-ALIAS and BASE-VARIABLE of variable alias

Previous Next

Package: emacs;

Reported by: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>

Date: Tue, 4 Mar 2025 20:58:02 UTC

Severity: normal

Found in version 31.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jens Schmidt <jschmidt4gnu <at> vodafonemail.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 76748 <at> debbugs.gnu.org
Subject: bug#76748: 31.0.50; `unload-feature' unbinds NEW-ALIAS and BASE-VARIABLE of variable alias
Date: Wed, 12 Mar 2025 23:18:11 +0100
On 2025-03-12  22:01, Stefan Monnier wrote:

> Not sure what is expected from me, here.
> This looks like a plain bug to me, with a good recipe to reproduce and
> diagnose it.

Is there a way to undo a `defvaralias' from Lisp?

Meaning a hypothetical function `unalias' so that after

  (defvar foo nil "Foo")
  (defvaralias 'bar 'foo "Bar")

  (unalias 'bar)

`foo' is untouched, but everything about `bar' forgotten.

I haven't found one, but then I haven't been searching very
thoroughly.





This bug report was last modified 67 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.