aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReiner Steib2006-05-10 13:06:02 +0000
committerReiner Steib2006-05-10 13:06:02 +0000
commit310359279c034481a8d72599a5f455da197a9cc0 (patch)
treec333dfe77aa6a4fef4b2803b7567b24744c5a57d
parent4da9c1365a222952e8a22471b541fb34bd8edcdb (diff)
downloademacs-310359279c034481a8d72599a5f455da197a9cc0.tar.gz
emacs-310359279c034481a8d72599a5f455da197a9cc0.zip
(File Local Variables): Recommend to quote lambda
expressions in safe-local-variable property.
-rw-r--r--lispref/ChangeLog5
-rw-r--r--lispref/variables.texi3
2 files changed, 7 insertions, 1 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index f4bdfc81aff..56e6dc9ba3f 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,8 @@
12006-05-10 Reiner Steib <Reiner.Steib@gmx.de>
2
3 * variables.texi (File Local Variables): Recommend to quote lambda
4 expressions in safe-local-variable property.
5
12006-05-09 Richard Stallman <rms@gnu.org> 62006-05-09 Richard Stallman <rms@gnu.org>
2 7
3 * variables.texi (File Local Variables): Document 8 * variables.texi (File Local Variables): Document
diff --git a/lispref/variables.texi b/lispref/variables.texi
index 87008d6961b..cd7c22b0bff 100644
--- a/lispref/variables.texi
+++ b/lispref/variables.texi
@@ -1784,7 +1784,8 @@ returns non-@code{nil} given that value. Many commonly encountered
1784file variables standardly have @code{safe-local-variable} properties, 1784file variables standardly have @code{safe-local-variable} properties,
1785including @code{fill-column}, @code{fill-prefix}, and 1785including @code{fill-column}, @code{fill-prefix}, and
1786@code{indent-tabs-mode}. For boolean-valued variables that are safe, 1786@code{indent-tabs-mode}. For boolean-valued variables that are safe,
1787use @code{booleanp} as the property value. 1787use @code{booleanp} as the property value. Lambda expressions should
1788be quoted so that @code{describe-variable} can display the predicate.
1788 1789
1789@defopt safe-local-variable-values 1790@defopt safe-local-variable-values
1790This variable provides another way to mark some variable values as 1791This variable provides another way to mark some variable values as