]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/apply-context.ly
* scripts/lilypond-book.py (do_file): do not overwrite input file.
[lilypond.git] / input / regression / apply-context.ly
index 5369dc086da85b124970e2b4d7146a86d29f9bc5..92679d1400cc4f082e00228cf46cdc621262a30a 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.1.25"
+\version "2.1.26"
 
 
 \header {
@@ -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
 }}