|
From: | Eric Abrahamsen |
Subject: | Re: How do I pass a variable defined in a wrapping let, to a lambda? |
Date: | Fri, 11 Mar 2022 18:19:55 -0800 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Michael Heerdegen <michael_heerdegen@web.de> writes: > Hi Eric, > > you may want to find out what evaluating lexical-binding in the buffer > with lexical-binding -> nil gives you. > > Second: (AFAIK...) be sure to reeval `steinars-test' with > lexical-binding -> nil. `steinars-test' defined using the lexical > binding dialect will return a closure even when called in the > dynamcially binding dialect. Yeah, I tried to do the second experiment with the function and variable names incremented, but I think I was just in too much of a hurry and missed one of them out (using the previous `steinars-test' instead of the newler function). Anyway, nice to recover some confidence...
[Prev in Thread] | Current Thread | [Next in Thread] |