Commit 7817e3d3 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(File Local Variables): Remove the special case t for safe-local-variable.

parent 80aa4695
2006-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
* variables.texi (File Local Variables): Remove the special case t for
safe-local-variable.
2006-04-26 Richard Stallman <rms@gnu.org> 2006-04-26 Richard Stallman <rms@gnu.org>
* syntax.texi (Parsing Expressions): Minor cleanup. * syntax.texi (Parsing Expressions): Minor cleanup.
......
...@@ -1778,13 +1778,12 @@ measures to prevent this. ...@@ -1778,13 +1778,12 @@ measures to prevent this.
@cindex safe local variable @cindex safe local variable
You can specify safe values for a variable with a You can specify safe values for a variable with a
@code{safe-local-variable} property. If the property is @code{t}, @code{safe-local-variable} property. The property has to be
setting that variable in a file is always considered safe, regardless a function of one argument; any value is safe if the function
of the value used. If the property is a function of one argument, returns non-@code{nil} given that value. Many commonly encountered
then any value is safe if the function returns non-@code{nil} given file variables standardly have @code{safe-local-variable} properties,
that value. Many commonly encountered file variables standardly have including @code{fill-column}, @code{fill-prefix}, and
@code{safe-local-variable} properties, including @code{fill-column}, @code{indent-tabs-mode}.
@code{fill-prefix}, and @code{indent-tabs-mode}.
@defopt safe-local-variable-values @defopt safe-local-variable-values
This variable provides another way to mark some variable values as This variable provides another way to mark some variable values as
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment