]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/incipit.ly
Add regtests for issue 1650
[lilypond.git] / input / regression / incipit.ly
index 35af8f6b9fb621ef88912f52c19b929b98efc14c..1d5de3a04b770b50bdb3b7551b0342523d79b53f 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.13.4"
+\version "2.14.0"
 
 \header {
   texidoc = "Incipits can be printed using an @code{InstrumentName}
@@ -6,14 +6,15 @@ grob."
 }
 
 %% to prevent warnings/programming errors:
-#(set-object-property! 'music 'backend-type? ly:music?)
-#(set-object-property! 'music 'backend-doc "Incipit music")
-#(ly:add-interface 'incipit-interface "An incipit." '(music))
-#(let* ((instrument-def (assoc 'InstrumentName all-grob-descriptions))
-        (meta-def (assoc 'meta (cdr instrument-def)))
-        (interfaces-def (assoc 'interfaces (cdr meta-def)))
-        (interfaces (cdr interfaces-def)))
-   (set-cdr! interfaces-def (cons 'incipit-interface interfaces)))
+#(begin
+   (set-object-property! 'music 'backend-type? ly:music?)
+   (set-object-property! 'music 'backend-doc "Incipit music")
+   (ly:add-interface 'incipit-interface "An incipit." '(music))
+   (let* ((instrument-def (assoc 'InstrumentName all-grob-descriptions))
+         (meta-def (assoc 'meta (cdr instrument-def)))
+         (interfaces-def (assoc 'interfaces (cdr meta-def)))
+         (interfaces (cdr interfaces-def)))
+     (set-cdr! interfaces-def (cons 'incipit-interface interfaces))))
 
 \score {
   \new Staff {
@@ -59,4 +60,4 @@ grob."
     indent = 5\cm
     incipit-width = 3\cm
   }
-}
\ No newline at end of file
+}