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

svn: r3688
This commit is contained in:
Matthew Flatt 2006-07-12 13:48:06 +00:00
parent 44fce84552
commit 495e879820

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)