emacs-devel
[Top][All Lists]
Advanced

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

Re: The `risky-local-variable' blacklist


From: Stefan Monnier
Subject: Re: The `risky-local-variable' blacklist
Date: 01 Sep 2004 10:36:29 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> Quoting from NEWS, we already added the foundation for this:

> ** The variable `safe-local-eval-forms' specifies a list of forms that
> are ok to evaluate when they appear in an `eval' local variables
> specification.  Normally Emacs asks for confirmation before evaluating
> such a form, but if the form appears in this list, no confirmation is
> needed.

Indeed, when assessing whether assining foo to bar is safe, we could just
look up safe-local-eval-forms and see if (setq bar foo) is there.


        Stefan




reply via email to

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