]> git.donarmstrong.com Git - lilypond.git/commitdiff
apply-context.ly: use stderr to print, rather than stdout
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 3 Jan 2007 11:02:19 +0000 (12:02 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 3 Jan 2007 11:02:19 +0000 (12:02 +0100)
input/regression/apply-context.ly

index 9024fbe8f460e819062819a09b4477e508ff6c36..abcbd3028165077e2555452d23d8ce2ade465238 100644 (file)
@@ -24,7 +24,7 @@ This example prints a bar-number during processing on stdout.
   
   \applyContext
   #(lambda (tr)
-    (format #t "\nWe were called in barnumber ~a.\n"
+    (ly:progress "\nWe were called in bar number ~a.\n"
      (ly:context-property tr 'currentBarNumber)))
   c1 c1
 }