aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2006-04-29 14:02:42 +0000
committerStefan Monnier2006-04-29 14:02:42 +0000
commit7817e3d35e77621ce12c93cb9d07820250cf31c2 (patch)
treee8901bee5780ac8a723d8aa2605125c5c71d4a73
parent80aa469540e939c8d7dcdf27021e78f12d0b957a (diff)
downloademacs-7817e3d35e77621ce12c93cb9d07820250cf31c2.tar.gz
emacs-7817e3d35e77621ce12c93cb9d07820250cf31c2.zip
(File Local Variables): Remove the special case t for safe-local-variable.
-rw-r--r--lispref/ChangeLog5
-rw-r--r--lispref/variables.texi13
2 files changed, 11 insertions, 7 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index ac6bd07a175..1eed9dec592 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,8 @@
12006-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * variables.texi (File Local Variables): Remove the special case t for
4 safe-local-variable.
5
12006-04-26 Richard Stallman <rms@gnu.org> 62006-04-26 Richard Stallman <rms@gnu.org>
2 7
3 * syntax.texi (Parsing Expressions): Minor cleanup. 8 * syntax.texi (Parsing Expressions): Minor cleanup.
diff --git a/lispref/variables.texi b/lispref/variables.texi
index d97848549c0..c2abdf0563d 100644
--- a/lispref/variables.texi
+++ b/lispref/variables.texi
@@ -1778,13 +1778,12 @@ measures to prevent this.
1778 1778
1779@cindex safe local variable 1779@cindex safe local variable
1780 You can specify safe values for a variable with a 1780 You can specify safe values for a variable with a
1781@code{safe-local-variable} property. If the property is @code{t}, 1781@code{safe-local-variable} property. The property has to be
1782setting that variable in a file is always considered safe, regardless 1782a function of one argument; any value is safe if the function
1783of the value used. If the property is a function of one argument, 1783returns non-@code{nil} given that value. Many commonly encountered
1784then any value is safe if the function returns non-@code{nil} given 1784file variables standardly have @code{safe-local-variable} properties,
1785that value. Many commonly encountered file variables standardly have 1785including @code{fill-column}, @code{fill-prefix}, and
1786@code{safe-local-variable} properties, including @code{fill-column}, 1786@code{indent-tabs-mode}.
1787@code{fill-prefix}, and @code{indent-tabs-mode}.
1788 1787
1789@defopt safe-local-variable-values 1788@defopt safe-local-variable-values
1790This variable provides another way to mark some variable values as 1789This variable provides another way to mark some variable values as