mdw-base: Replace (FORMAT T "~&") by (FRESH-LINE).
authorMark Wooding <mdw@distorted.org.uk>
Mon, 10 Nov 2008 11:41:13 +0000 (11:41 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 10 Nov 2008 11:41:13 +0000 (11:41 +0000)
No idea why I wrote it like that in the first place.

mdw-base.lisp

index a41b685..95b79de 100644 (file)
@@ -66,7 +66,7 @@
   "Debugging tool: print the expression X and its values."
   (let ((tmp (gensym)))
     `(let ((,tmp (multiple-value-list ,x)))
   "Debugging tool: print the expression X and its values."
   (let ((tmp (gensym)))
     `(let ((,tmp (multiple-value-list ,x)))
-       (format t "~&")
+       (fresh-line)
        (pprint-logical-block (*standard-output* nil :per-line-prefix ";; ")
         (format t
                 "~S = ~@_~:I~:[#<no values>~;~:*~{~S~^ ~_~}~]"
        (pprint-logical-block (*standard-output* nil :per-line-prefix ";; ")
         (format t
                 "~S = ~@_~:I~:[#<no values>~;~:*~{~S~^ ~_~}~]"