From edfaf7c0e39361a10eb4bdbe7f5bbd0d45df05ed Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 11 Jun 2013 21:23:16 -0400 Subject: [PATCH] * doc/lispref/functions.texi (Anonymous Functions): Put back ' over-enthusiastically removed 2012-10-23. --- doc/lispref/ChangeLog | 4 ++++ doc/lispref/functions.texi | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 36dd05b125a..751e4f9885b 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,7 @@ +2013-06-12 Glenn Morris + + * functions.texi (Anonymous Functions): Put back ' removed 2012-10-23. + 2013-03-12 Glenn Morris * elisp.texi: Add some stuff specific to www.gnu.org. diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 999923f5b84..dc425031af3 100644 --- a/doc/lispref/functions.texi +++ b/doc/lispref/functions.texi @@ -975,10 +975,11 @@ Note that we do not quote the @code{lambda} form. compiled. This would not happen if, say, you had constructed the anonymous function by quoting it as a list: +@c Do not unquote this lambda! @example @group (defun double-property (symbol prop) - (change-property symbol prop (lambda (x) (* 2 x)))) + (change-property symbol prop '(lambda (x) (* 2 x)))) @end group @end example -- 2.39.2