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: Lars Ingebrigtsen
Subject: bug#46912: 28.0.50; Byte compiled defvar with lexical binding throws (void-variable foo)
Date: Thu, 04 Mar 2021 21:09:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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 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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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