]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/apply-context.ly
Doc-es: various updates.
[lilypond.git] / input / regression / apply-context.ly
index a75092640326f27670154d6be170e6a0a9ac78ad..90ebff0c99ac432760aeae1795313a2aea9bcae2 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.7.32"
+\version "2.19.21"
 
 
 \header {
@@ -17,14 +17,14 @@ This example prints a bar-number during processing on stdout.
 \layout { ragged-right= ##t }
 
 
-\relative c'' {
-  c1 c1
+\relative {
+  c''1 c1
 
   %% todo: should put something interesting in the .tex output.
   
   \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
 }