* doc/lispref/functions.texi (Anonymous Functions): Put back '
over-enthusiastically removed 2012-10-23.
This commit is contained in:
parent
20992a8504
commit
edfaf7c0e3
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-06-12 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* functions.texi (Anonymous Functions): Put back ' removed 2012-10-23.
|
||||
|
||||
2013-03-12 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* elisp.texi: Add some stuff specific to www.gnu.org.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue