]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/apply-context.ly
* lily/slur-quanting.cc (init_score_param): read scoring
[lilypond.git] / input / regression / apply-context.ly
index 5369dc086da85b124970e2b4d7146a86d29f9bc5..7b838a5f1db71974680c8a959463f954b6665bb3 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.1.25"
+\version "2.3.4"
 
 
 \header {
@@ -17,7 +17,7 @@ This example prints a bar-number during processing on stdout.
     \paper { raggedright= ##t }
 
 
-\score { \notes \relative c'' {
+\score {  \relative c'' {
     c1 c1
 
     %% todo: should put something interesting in the .tex output.
@@ -25,6 +25,6 @@ This example prints a bar-number during processing on stdout.
     \applycontext
        #(lambda (tr)
         (format #t "\nWe were called in barnumber ~a.\n"
-         (ly:get-context-property tr 'currentBarNumber)))
+         (ly:context-property tr 'currentBarNumber)))
     c1 c1
 }}