bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#46912: 28.0.50; Byte compiled defvar with lexical binding throws (vo


From: Pip Cet
Subject: bug#46912: 28.0.50; Byte compiled defvar with lexical binding throws (void-variable foo)
Date: Thu, 4 Mar 2021 20:21:27 +0000

On Thu, Mar 4, 2021 at 8:10 PM Lars Ingebrigtsen <larsi@gnus.org> wrote:
> Joseph Mingrone <jrm@ftfl.ca> writes:
> > With
> >
> >      ;;; -*- lexical-binding: t -*-
> >
> >      (let ((foo t))
> >        (defvar tmp-bar foo))
> >
> > the same warning is reported when compiling, but when loading the .elc
> > file, the debugger isn't started.  Just
> >
> >      load: Symbol’s value as variable is void: foo
> >
> > is reported.
>
> I can reproduce this problem here, too (and Emacs 27 doesn't have this
> problem).

I can reproduce it, three, but I can also reproduce it with the change
I think you're referring to reverted.

> I have not tried to bisect this, but since Pip pushed a change related
> to this a couple days ago, I've added Pip to the CCs.

Thanks! I must confess I don't know whether I need to do anything to
make the savannah.gnu.org email address work, but then I need to get a
better email address anyway...

Pip (at mumble, mumble, yes, I do realize that's a non-free email service)





reply via email to

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