diff options
| -rw-r--r-- | lispref/debugging.texi | 2 | ||||
| -rw-r--r-- | lispref/functions.texi | 4 |
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: | |||
| 153 | 153 | ||
| 154 | @example | 154 | @example |
| 155 | (add-hook 'after-init-hook | 155 | (add-hook 'after-init-hook |
| 156 | '(lambda () (setq debug-on-error t))) | 156 | (lambda () (setq debug-on-error t))) |
| 157 | @end example | 157 | @end example |
| 158 | 158 | ||
| 159 | @node Infinite Loops | 159 | @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. | |||
| 809 | 809 | ||
| 810 | @smallexample | 810 | @smallexample |
| 811 | @group | 811 | @group |
| 812 | (setq silly (append '(lambda (x)) (list (list '+ (* 3 4) 'x)))) | 812 | (setq silly (append (lambda (x)) (list (list '+ (* 3 4) 'x)))) |
| 813 | @result{} (lambda (x) (+ 12 x)) | 813 | @result{} (lambda (x) (+ 12 x)) |
| 814 | @end group | 814 | @end group |
| 815 | @end smallexample | 815 | @end smallexample |
| @@ -856,7 +856,7 @@ passing it a function to double a number: | |||
| 856 | @example | 856 | @example |
| 857 | @group | 857 | @group |
| 858 | (defun double-property (symbol prop) | 858 | (defun double-property (symbol prop) |
| 859 | (change-property symbol prop '(lambda (x) (* 2 x)))) | 859 | (change-property symbol prop (lambda (x) (* 2 x)))) |
| 860 | @end group | 860 | @end group |
| 861 | @end example | 861 | @end example |
| 862 | 862 | ||