When pretty-printing code, abbreviate quotations.
authorChris Hanson <org/chris-hanson/cph>
Thu, 24 Sep 2009 07:21:53 +0000 (00:21 -0700)
committerChris Hanson <org/chris-hanson/cph>
Thu, 24 Sep 2009 07:21:53 +0000 (00:21 -0700)
src/runtime/pp.scm

index 3bf83b8ebf8a93c78b99fdcaaa165237a3d153cb..1dc0474858ce1e15abcc1448ac9bd41f7fca26fc 100644 (file)
@@ -217,7 +217,10 @@ USA.
   (fluid-let ((x-size (- (or *pp-forced-x-size* (output-port/x-size port)) 1))
              (output-port port)
              (*unparse-uninterned-symbols-by-name?*
-              *pp-uninterned-symbols-by-name*))
+              *pp-uninterned-symbols-by-name*)
+             (*unparse-abbreviate-quotations?*
+              (or as-code?
+                  *unparse-abbreviate-quotations?*)))
     (let* ((numerical-walk
            (if *pp-avoid-circularity?*
                numerical-walk-avoid-circularities