]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/incipit.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / incipit.ly
index ad25f3a7cf299396a6eaf9f7554f89242db0f26b..7e8ea62a77ad1074cc6ac6923b8772ce6bb3d5cc 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.14.0"
+\version "2.16.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
+}