Mercurial > emacs
changeset 70273:693f5a9250ca
(File Local Variables): Remove the special case t for safe-local-variable.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sat, 29 Apr 2006 14:02:42 +0000 |
parents | 996364ad6475 |
children | cdbf1a359e67 |
files | lispref/ChangeLog lispref/variables.texi |
diffstat | 2 files changed, 11 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/ChangeLog Sat Apr 29 13:59:52 2006 +0000 +++ b/lispref/ChangeLog Sat Apr 29 14:02:42 2006 +0000 @@ -1,3 +1,8 @@ +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> * syntax.texi (Parsing Expressions): Minor cleanup.
--- a/lispref/variables.texi Sat Apr 29 13:59:52 2006 +0000 +++ b/lispref/variables.texi Sat Apr 29 14:02:42 2006 +0000 @@ -1778,13 +1778,12 @@ @cindex safe local variable You can specify safe values for a variable with a -@code{safe-local-variable} property. If the property is @code{t}, -setting that variable in a file is always considered safe, regardless -of the value used. If the property is a function of one argument, -then any value is safe if the function returns non-@code{nil} given -that value. Many commonly encountered file variables standardly have -@code{safe-local-variable} properties, including @code{fill-column}, -@code{fill-prefix}, and @code{indent-tabs-mode}. +@code{safe-local-variable} property. The property has to be +a function of one argument; any value is safe if the function +returns non-@code{nil} given that value. Many commonly encountered +file variables standardly have @code{safe-local-variable} properties, +including @code{fill-column}, @code{fill-prefix}, and +@code{indent-tabs-mode}. @defopt safe-local-variable-values This variable provides another way to mark some variable values as