summaryrefslogtreecommitdiff
path: root/lispref
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
commite6f4debbeb3b306092ba0b9b2a624c1b14aa6258 (patch)
tree7379c8d84ca83082eec19388dad34597151c6b70 /lispref
parent9e473a0bf697f572295993f5b2a5d94724c6ff2b (diff)
downloademacs-e6f4debbeb3b306092ba0b9b2a624c1b14aa6258.tar.gz
Don't quote lambdas.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/debugging.texi2
-rw-r--r--lispref/functions.texi4
2 files changed, 3 insertions, 3 deletions
diff --git a/lispref/debugging.texi b/lispref/debugging.texi
index d8b465a29cb..50f5b615625 100644
--- a/lispref/debugging.texi
+++ b/lispref/debugging.texi
@@ -153,7 +153,7 @@ this:
@example
(add-hook 'after-init-hook
- '(lambda () (setq debug-on-error t)))
+ (lambda () (setq debug-on-error t)))
@end example
@node Infinite Loops
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