only prints snips, syntax, etc specially whe the port writes specials

svn: r503
This commit is contained in:
Matthew Flatt 2005-07-30 17:04:51 +00:00
parent d844256e25
commit 119c98debf

View File

@ -344,6 +344,7 @@
[pretty-print-size-hook
(λ (value display? port)
(cond
[(not (port-writes-special? port)) #f]
[(is-a? value snip%) 1]
[(use-number-snip? value) 1]
[(syntax? value) 1]