From 310359279c034481a8d72599a5f455da197a9cc0 Mon Sep 17 00:00:00 2001 From: Reiner Steib Date: Wed, 10 May 2006 13:06:02 +0000 Subject: [PATCH] (File Local Variables): Recommend to quote lambda expressions in safe-local-variable property. --- lispref/ChangeLog | 5 +++++ lispref/variables.texi | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lispref/ChangeLog b/lispref/ChangeLog index f4bdfc81aff..56e6dc9ba3f 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,3 +1,8 @@ +2006-05-10 Reiner Steib + + * variables.texi (File Local Variables): Recommend to quote lambda + expressions in safe-local-variable property. + 2006-05-09 Richard Stallman * 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 file variables standardly have @code{safe-local-variable} properties, including @code{fill-column}, @code{fill-prefix}, and @code{indent-tabs-mode}. For boolean-valued variables that are safe, -use @code{booleanp} as the property value. +use @code{booleanp} as the property value. Lambda expressions should +be quoted so that @code{describe-variable} can display the predicate. @defopt safe-local-variable-values This variable provides another way to mark some variable values as -- 2.39.5