]> git.eshelyaron.com Git - emacs.git/commitdiff
* doc/lispref/control.texi: Avoid overfull hbox.
authorGlenn Morris <rgm@gnu.org>
Thu, 9 Oct 2014 17:36:02 +0000 (13:36 -0400)
committerGlenn Morris <rgm@gnu.org>
Thu, 9 Oct 2014 17:36:02 +0000 (13:36 -0400)
doc/lispref/control.texi

index edf60dd5cc8f1953aeb896cd3b8dc8f5af8b3685..800e174d3fc9dcfbaf18ace609ce1b4e26ba32cd 100644 (file)
@@ -328,13 +328,13 @@ lexical binding):
 @example
 (defun evaluate (exp env)
   (pcase exp
-    (`(add ,x ,y)         (+ (evaluate x env) (evaluate y env)))
-    (`(call ,fun ,arg)    (funcall (evaluate fun env) (evaluate arg env)))
-    (`(fn ,arg ,body)     (lambda (val)
-                            (evaluate body (cons (cons arg val) env))))
-    ((pred numberp)       exp)
-    ((pred symbolp)       (cdr (assq exp env)))
-    (_                    (error "Unknown expression %S" exp))))
+    (`(add ,x ,y)       (+ (evaluate x env) (evaluate y env)))
+    (`(call ,fun ,arg)  (funcall (evaluate fun env) (evaluate arg env)))
+    (`(fn ,arg ,body)   (lambda (val)
+                          (evaluate body (cons (cons arg val) env))))
+    ((pred numberp)     exp)
+    ((pred symbolp)     (cdr (assq exp env)))
+    (_                  (error "Unknown expression %S" exp))))
 @end example
 
 Where @code{`(add ,x ,y)} is a pattern that checks that @code{exp} is a three