Added *pp-auto-highlighter*.
authorStephen Adams <edu/mit/csail/zurich/adams>
Fri, 2 Dec 1994 16:38:29 +0000 (16:38 +0000)
committerStephen Adams <edu/mit/csail/zurich/adams>
Fri, 2 Dec 1994 16:38:29 +0000 (16:38 +0000)
commit372341b292b65297ca9e9d281b0b627f918e9e44
tree2b5b49c652d63c9795b24a9fc435a9bf422ebce0
parentc13fd51e078323dec0e9d61838d123fc39a7c25f
Added *pp-auto-highlighter*.

When *pp-auto-highlighter* is #F (the default) pp behaves as before.

When assigned a procedure of one argument this procedure is called for
each part of the input tree.  It may return:

 . #F  indicating that pp should proceed normally

 . a new form which is pretty printed instead of the input, for
   example, it may be wrapped with a highlight.
v7/src/runtime/pp.scm