[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with lexical binding
From: |
esabof |
Subject: |
Re: Help with lexical binding |
Date: |
Sat, 10 Aug 2013 11:34:12 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Saturday, August 10, 2013 7:06:24 PM UTC+1, esa...@gmail.com wrote:
> It will also work if I use `eval-last-sexp' instead of `eval-buffer'.
Evidently `eval-buffer' ignores the buffer local value of `lexical-binding',
and is only sensitive to the first line (I had scratch comments in the
beginning, that's why it didn't work).
Might it be better to use the buffer-local value, unless a file-local variable
exists? In any case, I think this peculiarity is worth documenting.
Evgeni