bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15616: 24.3; Setting lexical-binding in file's local variables block


From: Glenn Morris
Subject: bug#15616: 24.3; Setting lexical-binding in file's local variables block should trigger a warning
Date: Tue, 15 Oct 2013 21:36:28 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Version: 24.4

Ryan wrote:

> I don't think it is very well-known that lexical-binding as a
> file-local variable is special in this way.

Well, it's in the NEWS entry that introduces lexical-binding,
in the variable's doc, and in the elisp manual. 

> Having a warning for a setting of lexical-binding that would have no
> effect would prevent such errors.

Implemented on the first loading of a file with lexical-binding at the
end.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]