]> code.delx.au - gnu-emacs/blobdiff - doc/lispref/functions.texi
Merge from emacs-24; up to 2012-12-29T06:14:00Z!cyd@gnu.org
[gnu-emacs] / doc / lispref / functions.texi
index 7768c147827c25b37733c48b81a156f5f8a4a24a..fcd345ef83b202b54acf46c96fd7514272488f07 100644 (file)
@@ -974,10 +974,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