Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f12a0718
Commit
f12a0718
authored
May 10, 2006
by
Richard M. Stallman
Browse files
(File Local Variables): Document
safe-local-eval-forms and safe-local-eval-function.
parent
7d3a082e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
lispref/ChangeLog
lispref/ChangeLog
+5
-0
lispref/variables.texi
lispref/variables.texi
+13
-0
No files found.
lispref/ChangeLog
View file @
f12a0718
2006
-
05
-
09
Richard
Stallman
<
rms
@
gnu
.
org
>
*
variables
.
texi
(
File
Local
Variables
):
Document
safe
-
local
-
eval
-
forms
and
safe
-
local
-
eval
-
function
.
2006
-
05
-
07
Kim
F
.
Storm
<
storm
@
cua
.
dk
>
*
minibuf
.
texi
(
Minibuffer
History
):
Remove
keep
-
dups
arg
...
...
lispref/variables.texi
View file @
f12a0718
...
...
@@ -1844,6 +1844,19 @@ unconditionally; @code{nil} means ignore them; anything else means ask
the user what to do for each file. The default value is @code{maybe}.
@end defopt
@defopt 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.
@end defopt
If the expression is a function call and the function has a
@code{safe-local-eval-function} 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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment