]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/apply-context.ly
Merge branch 'master' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / input / regression / apply-context.ly
index 86c838d9994c11cc3c03f6a47e7bac699269c3aa..9024fbe8f460e819062819a09b4477e508ff6c36 100644 (file)
@@ -1,10 +1,10 @@
 
-\version "2.6.0"
+\version "2.10.0"
 
 
 \header {
 
-texidoc = "With @code{\\applycontext}, @code{\\properties} can be modified
+texidoc = "With @code{\\applyContext}, @code{\\properties} can be modified
 procedurally. Applications include: checking bar numbers, smart
 octavation.
 
@@ -14,7 +14,7 @@ This example prints a bar-number during processing on stdout.
 
 }
 
-\layout { raggedright= ##t }
+\layout { ragged-right= ##t }
 
 
 \relative c'' {
@@ -22,7 +22,7 @@ This example prints a bar-number during processing on stdout.
 
   %% todo: should put something interesting in the .tex output.
   
-  \applycontext
+  \applyContext
   #(lambda (tr)
     (format #t "\nWe were called in barnumber ~a.\n"
      (ly:context-property tr 'currentBarNumber)))