aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2014-10-09 13:36:02 -0400
committerGlenn Morris2014-10-09 13:36:02 -0400
commit7b9ecf78f03bcea9fe4c61dd863993203e24f34d (patch)
treeb73e440d95eb06efb6d2bc79227e32f62e6b12fb
parent52b16eb4c004da3b894fa92be65f42f55eb4c84f (diff)
downloademacs-7b9ecf78f03bcea9fe4c61dd863993203e24f34d.tar.gz
emacs-7b9ecf78f03bcea9fe4c61dd863993203e24f34d.zip
* doc/lispref/control.texi: Avoid overfull hbox.
-rw-r--r--doc/lispref/control.texi14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index edf60dd5cc8..800e174d3fc 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -328,13 +328,13 @@ lexical binding):
328@example 328@example
329(defun evaluate (exp env) 329(defun evaluate (exp env)
330 (pcase exp 330 (pcase exp
331 (`(add ,x ,y) (+ (evaluate x env) (evaluate y env))) 331 (`(add ,x ,y) (+ (evaluate x env) (evaluate y env)))
332 (`(call ,fun ,arg) (funcall (evaluate fun env) (evaluate arg env))) 332 (`(call ,fun ,arg) (funcall (evaluate fun env) (evaluate arg env)))
333 (`(fn ,arg ,body) (lambda (val) 333 (`(fn ,arg ,body) (lambda (val)
334 (evaluate body (cons (cons arg val) env)))) 334 (evaluate body (cons (cons arg val) env))))
335 ((pred numberp) exp) 335 ((pred numberp) exp)
336 ((pred symbolp) (cdr (assq exp env))) 336 ((pred symbolp) (cdr (assq exp env)))
337 (_ (error "Unknown expression %S" exp)))) 337 (_ (error "Unknown expression %S" exp))))
338@end example 338@end example
339 339
340Where @code{`(add ,x ,y)} is a pattern that checks that @code{exp} is a three 340Where @code{`(add ,x ,y)} is a pattern that checks that @code{exp} is a three