(format): Use 'monitor' properly. Not the definition
authorMarius Vollmer <mvo@zagadka.de>
Thu, 7 Nov 2002 13:45:53 +0000 (13:45 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Thu, 7 Nov 2002 13:45:53 +0000 (13:45 +0000)
needs to be restricted, the actual function needs to be.

ice-9/format.scm

index 38a132b..e84c2f6 100644 (file)
 
 (define format:abort (lambda () (error "error in format")))
 
-(define format (monitor format:format))
+(define (format . args) (monitor (apply format:format args)))
 
 ;; Thanks to Shuji Narazaki
 (module-set! the-root-module 'format format)