Skip to main content
Share Your Experience: Take the 2024 Developer Survey
3 votes
Accepted

Closure does not capture variable

You don't have a closure unless your file has set lexical-binding: t as a file-local variable. Without that, everything is using dynamic binding (in which case in your example your variable is indeed ...
phils's user avatar
  • 51.6k

Only top scored, non community-wiki answers of a minimum length are eligible