0.9.13.7:
authorChristophe Rhodes <csr21@cam.ac.uk>
Sun, 28 May 2006 14:27:23 +0000 (14:27 +0000)
committerChristophe Rhodes <csr21@cam.ac.uk>
Sun, 28 May 2006 14:27:23 +0000 (14:27 +0000)
Give TRACE a chance (... to print return values nicely indented)
... by binding *print-pretty* to T around the bits where we
use the pretty printer.

src/code/module.lisp
src/code/ntrace.lisp
version.lisp-expr

index c21efc4..369dcb2 100644 (file)
@@ -23,7 +23,7 @@
    It is used by PROVIDE and REQUIRE.")
 
 (defvar *module-provider-functions* (list 'module-provide-contrib)
-  "See function documentation for REQUIRE")
+  "See function documentation for REQUIRE.")
 \f
 ;;;; PROVIDE and REQUIRE
 
index b4ca56b..a400ff7 100644 (file)
               (*standard-output* (make-string-output-stream))
               (*in-trace* t))
           (fresh-line)
-          (pprint-logical-block (*standard-output* nil)
-            (print-trace-indentation)
-            (pprint-indent :current 2)
-            (format t "~S returned" (trace-info-what info))
-            (dolist (v *trace-values*)
-              (write-char #\space)
-              (pprint-newline :linear)
-              (prin1 (ensure-printable-object v))))
-          (terpri)
+          (let ((*print-pretty* t))
+            (pprint-logical-block (*standard-output* nil)
+              (print-trace-indentation)
+              (pprint-indent :current 2)
+              (format t "~S returned" (trace-info-what info))
+              (dolist (v *trace-values*)
+                (write-char #\space)
+                (pprint-newline :linear)
+                (prin1 (ensure-printable-object v))))
+            (terpri))
           (trace-print frame (trace-info-print-after info))
           (write-sequence (get-output-stream-string *standard-output*)
                           *trace-output*)
index 2eb1ef9..c5022ea 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.9.13.6"
+"0.9.13.7"