Change definition of WRITE-LINE so that the newline is emitted after
authorChris Hanson <org/chris-hanson/cph>
Mon, 20 Dec 1999 23:11:37 +0000 (23:11 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 20 Dec 1999 23:11:37 +0000 (23:11 +0000)
the object, rather than before it as previously.

v7/src/runtime/output.scm

index 05dac465a83c7c994b26426c97f35315937d508d..aa5c6651a51a66171c2760e7a69f2d581a2552e0 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: output.scm,v 14.21 1999/08/09 18:33:25 cph Exp $
+$Id: output.scm,v 14.22 1999/12/20 23:11:37 cph Exp $
 
 Copyright (c) 1988-1999 Massachusetts Institute of Technology
 
@@ -150,8 +150,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
         (if (default-object? unparser-table)
             (current-unparser-table)
             (guarantee-unparser-table unparser-table 'WRITE-LINE))))
-    (output-port/write-char port #\newline)
     (unparse-object/top-level object port #t unparser-table)
+    (output-port/write-char port #\newline)
     (output-port/discretionary-flush port)))
 
 (define (flush-output #!optional port)