GNU bug report logs - #59057
Emacs 29. Byte compiler sometimes forgets about a defvar.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Sat, 5 Nov 2022 18:47:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 59057 <at> debbugs.gnu.org
Subject: bug#59057: Emacs 29.  Byte compiler sometimes forgets about a defvar.
Date: Mon, 07 Nov 2022 16:31:32 -0500
>> (defvar VAR) does not "create a variable".
> According to both its doc string and the Elisp manual it does.

BTW, what I'm describing is how things have worked in `lexical-binding`
since Emacs-24, basically.  A few corner cases didn't quite obey it
(and I'm sure there are still a few remaining ones), but by and large
this is how it has worked for the last 10 years.


        Stefan





This bug report was last modified 2 years and 262 days ago.

Previous Next


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