From: Reiner Steib Date: Wed, 10 May 2006 13:06:02 +0000 (+0000) Subject: (File Local Variables): Recommend to quote lambda X-Git-Tag: emacs-pretest-22.0.90~2640 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=310359279c034481a8d72599a5f455da197a9cc0;p=emacs.git (File Local Variables): Recommend to quote lambda expressions in safe-local-variable property. --- 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