]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/extending-glissandi-across-repeats.ly
Release: update news.
[lilypond.git] / Documentation / snippets / extending-glissandi-across-repeats.ly
index 52ec92978198713a4e1bb06fc5346c16110bb2db..698fc4a72390558d6f91bd26b0ac34c50172a121 100644 (file)
@@ -4,7 +4,7 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.18.0"
+\version "2.19.22"
 
 \header {
   lsrtags = "staff-notation, tweaks-and-overrides"
@@ -24,7 +24,7 @@ corresponding grace notes in all other voices.
   doctitle = "Extending glissandi across repeats"
 } % begin verbatim
 
-repeatGliss = #(define-music-function (parser location grace)
+repeatGliss = #(define-music-function (grace)
   (ly:pitch?)
   #{
     % the next two lines ensure the glissando is long enough
@@ -54,7 +54,7 @@ music =  \relative c' {
   }
   \alternative {
     { d1 }
-    { \repeatGliss c e1 }
+    { \repeatGliss c \once \omit StringNumber e1\2 }
   }
 }