don't consider item line-splittable if the size hook returns a non-#f value

svn: r3688

original commit: 495e8798203411edd0fb191bd8a4804d6f3af3e7
This commit is contained in:
Matthew Flatt 2006-07-12 13:48:06 +00:00
parent 2136b48e14
commit 61c432ef3f

View File

@ -723,6 +723,7 @@
(define (pr obj extra pp-pair depth)
;; may have to split on multiple lines
(let* ([can-multi (and width
(not (size-hook obj display?))
(or (pair? obj) (vector? obj)
(box? obj)
(and (custom-write? obj)