summaryrefslogtreecommitdiff
path: root/lispref/functions.texi
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2000-12-04 16:15:18 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2000-12-04 16:15:18 +0000
commit00c804d5e6f5abdfa2d8d024d923e5263554717d (patch)
tree4645c6b346c170806d08ef85f434e8b966c3c165 /lispref/functions.texi
parent01ad4eacc25023f25ae95f2b135da8d5e64c0b1d (diff)
downloademacs-00c804d5e6f5abdfa2d8d024d923e5263554717d.tar.gz
Don't quote lambdas.
Diffstat (limited to 'lispref/functions.texi')
-rw-r--r--lispref/functions.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/lispref/functions.texi b/lispref/functions.texi
index de726e55104..fa45e9ef11d 100644
--- a/lispref/functions.texi
+++ b/lispref/functions.texi
@@ -809,7 +809,7 @@ anonymous function. Such a list is valid wherever a function name is.
@smallexample
@group
-(setq silly (append '(lambda (x)) (list (list '+ (* 3 4) 'x))))
+(setq silly (append (lambda (x)) (list (list '+ (* 3 4) 'x))))
@result{} (lambda (x) (+ 12 x))
@end group
@end smallexample
@@ -856,7 +856,7 @@ passing it a function to double a number:
@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