changeset 34179:82306439b33d

Don't quote lambdas.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 04 Dec 2000 16:15:18 +0000
parents 0ee954140c53
children 4cd2e11b3aca
files lispref/debugging.texi lispref/functions.texi
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/debugging.texi	Mon Dec 04 16:14:34 2000 +0000
+++ b/lispref/debugging.texi	Mon Dec 04 16:15:18 2000 +0000
@@ -153,7 +153,7 @@
 
 @example
 (add-hook 'after-init-hook
-          '(lambda () (setq debug-on-error t)))
+          (lambda () (setq debug-on-error t)))
 @end example
 
 @node Infinite Loops
--- a/lispref/functions.texi	Mon Dec 04 16:14:34 2000 +0000
+++ b/lispref/functions.texi	Mon Dec 04 16:15:18 2000 +0000
@@ -809,7 +809,7 @@
 
 @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 @@
 @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