emacs-devel
[Top][All Lists]
Advanced

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

Re: another minor lexbind patch


From: Davis Herring
Subject: Re: another minor lexbind patch
Date: Tue, 27 Apr 2010 14:04:23 -0700 (PDT)
User-agent: SquirrelMail/1.4.8-5.el5_4.10.lanl1

> Here's a trivial patch to the lexbind branch to make lexical-binding a
> safe local variable.

If `lexical-binding' is taken into account other than at read or
compilation time, it might not be wise to make it safe: someone could find
(old, well-established, well-distributed, commonly-used) code that behaves
in some undesirable way if it's non-nil.

If it does only affect loading/compiling code in the file where it's set,
that's fine, of course: you're already trusting that file if you eval
things in it, although I suppose someone could try to write a file that
did something evil that wasn't obvious if you read it assuming dynamic
binding.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.




reply via email to

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