#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.601 2006/10/25 04:25:32 cph Exp $
+$Id: runtime.pkg,v 14.602 2006/10/25 05:05:19 cph Exp $
Copyright 1988,1989,1990,1991,1992,1993 Massachusetts Institute of Technology
Copyright 1994,1995,1996,1997,1998,1999 Massachusetts Institute of Technology
prompt-for-confirmation
prompt-for-evaluated-expression
prompt-for-expression
- with-notification)
+ with-notification
+ write-notification-line)
(export (runtime rep)
port/set-default-environment
port/write-result)
#| -*-Scheme-*-
-$Id: usrint.scm,v 1.22 2006/10/25 04:25:37 cph Exp $
+$Id: usrint.scm,v 1.23 2006/10/25 05:05:24 cph Exp $
Copyright 1991,1992,1993,1994,1995,2001 Massachusetts Institute of Technology
Copyright 2003,2005,2006 Massachusetts Institute of Technology
(newline port)
(if (car p)
(cdr p)
- (signal-condition (cdr p))))))))
\ No newline at end of file
+ (signal-condition (cdr p))))))))
+
+(define (write-notification-line message)
+ (let ((port (notification-output-port)))
+ (fresh-line port)
+ (write-string ";" port)
+ (do ((i 0 (+ i 1)))
+ ((not (< i *notification-depth*)))
+ (write-string " " port))
+ (message port)))
\ No newline at end of file