esup
esup copied to clipboard
Evaluate using lexical-binding if the file is lexically scoped
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.
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.
Ping?