Suppress "because of" messages.
authorChris Hanson <org/chris-hanson/cph>
Sun, 15 Apr 2007 15:49:20 +0000 (15:49 +0000)
committerChris Hanson <org/chris-hanson/cph>
Sun, 15 Apr 2007 15:49:20 +0000 (15:49 +0000)
v7/src/edwin/decls.scm

index 1de7c4ca4b6dd8665822357c66d8e6fb8e185ae0..ad7d81a19ec93432480f1050e765925285a8fa51 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: decls.scm,v 1.81 2007/02/05 18:26:37 cph Exp $
+$Id: decls.scm,v 1.82 2007/04/15 15:49:20 cph Exp $
 
 Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
     1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
@@ -53,27 +53,21 @@ USA.
                                   true))))))))
              (if (not (null? reasons))
                  (begin
-                   (if (environment-bound? system-global-environment
-                                           'write-notification-line)
-                       (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)))
-                       (begin
-                         (fresh-line)
-                         (write-string "Processing ")
-                         (write source)
-                         (write-string " because of:")
-                         (for-each (lambda (reason)
-                                     (write-char #\space)
-                                     (write reason))
-                                   reasons)
-                         (newline)))
+                   #|
+                   (let ((notify
+                          (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))))
+                     (if (environment-bound? system-global-environment
+                                             'write-notification-line)
+                         (write-notification-line notify)
+                         (notify (notification-output-port))))
+                   |#
                    (fluid-let ((sf/default-syntax-table environment)
                                (sf/default-declarations
                                 (map (lambda (dependency)