diff options
author | Glenn Morris <rgm@gnu.org> | 2014-10-09 13:36:02 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-10-09 13:36:02 -0400 |
commit | 7b9ecf78f03bcea9fe4c61dd863993203e24f34d (patch) | |
tree | b73e440d95eb06efb6d2bc79227e32f62e6b12fb /doc | |
parent | 52b16eb4c004da3b894fa92be65f42f55eb4c84f (diff) | |
download | emacs-7b9ecf78f03bcea9fe4c61dd863993203e24f34d.tar.gz |
* doc/lispref/control.texi: Avoid overfull hbox.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/control.texi | 14 |
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): @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 |