Use WRITE-NOTIFICATION-LINE to generate dependency notifications.
authorChris Hanson <org/chris-hanson/cph>
Wed, 25 Oct 2006 17:29:21 +0000 (17:29 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 25 Oct 2006 17:29:21 +0000 (17:29 +0000)
v7/src/edwin/decls.scm

index a25f8293671471c5b78467ad74b130f61c6139b0..ba0befdbaf9ab83255fc3e5152625b7a7c4e1162 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: decls.scm,v 1.76 2006/06/16 19:02:27 riastradh Exp $
+$Id: decls.scm,v 1.77 2006/10/25 17:29:21 cph Exp $
 
 Copyright 1989,1990,1991,1992,1993,1994 Massachusetts Institute of Technology
 Copyright 1995,1996,1997,1998,1999,2000 Massachusetts Institute of Technology
@@ -53,15 +53,15 @@ USA.
                                   true))))))))
              (if (not (null? reasons))
                  (begin
-                   (fresh-line)
-                   (write-string "Processing ")
-                   (write source)
-                   (write-string " because of:")
-                   (for-each (lambda (reason)
-                               (write-char #\space)
-                               (write reason))
-                             reasons)
-                   (newline)
+                   (write-notification-line
+                    (lambda (port)
+                      (write-string "Processing " port)
+                      (write source port)
+                      (write-string " because of:" port)
+                      (for-each (lambda (reason)
+                                  (write-char #\space port)
+                                  (write reason port))
+                                reasons)))
                    (fluid-let ((sf/default-syntax-table environment)
                                (sf/default-declarations
                                 (map (lambda (dependency)