]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't quote lambdas.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 4 Dec 2000 16:15:18 +0000 (16:15 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 4 Dec 2000 16:15:18 +0000 (16:15 +0000)
lispref/debugging.texi
lispref/functions.texi

index d8b465a29cbba85123497ccc1e9852f3a5b57fcf..50f5b615625db40f75aa4072e0237ea234c4dce9 100644 (file)
@@ -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
index de726e55104e3d50e52f3ea4fc04d3878a45e195..fa45e9ef11d4f76c872a168ed882dcd6dd3ae33d 100644 (file)
@@ -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