[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: another minor lexbind patch
From: |
Tom Tromey |
Subject: |
Re: another minor lexbind patch |
Date: |
Tue, 27 Apr 2010 15:37:33 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
>>>>> "Davis" == Davis Herring <address@hidden> writes:
>> Here's a trivial patch to the lexbind branch to make lexical-binding a
>> safe local variable.
Davis> If `lexical-binding' is taken into account other than at read or
Davis> compilation time, it might not be wise to make it safe: someone
Davis> could find (old, well-established, well-distributed,
Davis> commonly-used) code that behaves in some undesirable way if it's
Davis> non-nil.
It is used for eval-region. That is why I sent this patch: it is very
strange to set lexical-binding in a file, then be queried when trying to
edit the file.
I don't believe it has any effect in other situations.
Tom