[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lispref/variables.texi
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lispref/variables.texi |
Date: |
Wed, 10 May 2006 01:40:11 +0000 |
Index: emacs/lispref/variables.texi
diff -u emacs/lispref/variables.texi:1.79 emacs/lispref/variables.texi:1.80
--- emacs/lispref/variables.texi:1.79 Tue May 2 00:08:17 2006
+++ emacs/lispref/variables.texi Wed May 10 01:40:11 2006
@@ -1844,6 +1844,19 @@
the user what to do for each file. The default value is @code{maybe}.
@end defopt
address@hidden safe-local-eval-forms
+This variable holds a list of expressions that are safe to
+evaluate when found in the @samp{Eval:} ``variable'' in a file
+local variables list.
address@hidden defopt
+
+ If the expression is a function call and the function has a
address@hidden property, the property value
+determines whether the expression is safe to evaluate. The property
+value can be a predicate to call to test the expression, a list of
+such predicates (it's safe if any predicate succeeds), or @code{t}
+(always safe provided the arguments are constant).
+
Text properties are also potential loopholes, since their values
could include functions to call. So Emacs discards all text
properties from string values specified for file local variables.