X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fmusic-function.ly;h=6a6ade9ce35b842a038be5f02268c6b58c6b8942;hb=5d0446dcb9acd2a8f16874408568523ede4d2270;hp=8c6eb8ca26ade60e10f9c5594b4f456dc1345bc1;hpb=34eb783cd6b1af2fd7cf2c573ec9dc7e9d16e7f7;p=lilypond.git diff --git a/input/regression/music-function.ly b/input/regression/music-function.ly index 8c6eb8ca26..6a6ade9ce3 100644 --- a/input/regression/music-function.ly +++ b/input/regression/music-function.ly @@ -1,22 +1,22 @@ \header { -texidoc = "Music function are generic music transformation functions, +texidoc = "Music functions are generic music transformation functions, which can be used to extend music syntax seamlessly. Here we demonstrate a @code{\myBar} function, which works similar to @code{\bar}, but is implemented completely in Scheme." } -\version "2.6.0" +\version "2.12.0" -myBar = #(def-music-function (parser location bar-type) (string?) +myBar = #(define-music-function (parser location bar-type) (string?) (context-spec-music (context-spec-music (make-property-set 'whichBar bar-type) 'Timing) 'Score)) -\layout { raggedright = ##t } +\layout { ragged-right = ##t } { - d4 \myBar #"|:" d4 + d4 \myBar "|:" d4 }