[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43938: 28.0.50; Wrong lexical environment for (eval) under edebug
From: |
Michael Heerdegen |
Subject: |
bug#43938: 28.0.50; Wrong lexical environment for (eval) under edebug |
Date: |
Mon, 12 Oct 2020 08:10:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hello Dustin,
> The following forms work, but not under edebug:
>
> (let ((forms '(`(message ,msg)))
> (msg "hello"))
> (seq-map 'eval forms))
I evaluated (require 'seq) and copied the above snipped into *scratch*
and evaluated the form with C-x C-e and got
| Symbol's value as variable is void: msg
With edebug I get the same:
| edebug-signal: Symbol’s value as variable is void: msg
When I set lexical-binding to nil in *scratch*, the form is evaluated
without error in both cases.
I which way(s) did you evaluate the form? Was it maybe with lexical
binding off in one case?
Thanks,
Michael.