esup icon indicating copy to clipboard operation
esup copied to clipboard

Evaluate using lexical-binding if the file is lexically scoped

Open phikal opened this issue 4 years ago • 2 comments

I have code in my init.el that requires lexical scoping, and it could not be evaluated correctly without passing setting lexical when calling eval.

This patch uses the buffer-local value of lexical-binding to invoke eval correctly.

phikal avatar May 28 '21 09:05 phikal

And as a side note, while debugging I ended up simplifying the code a bit, but there too many changes to make a clean sequence of commits. Ultimately, I just grouped them all into one big dummy commit, and if you are interested, I could extract certain changes and propose them as separate push requests.

phikal avatar May 28 '21 09:05 phikal

Ping?

phikal avatar May 06 '22 07:05 phikal