]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/music-function-string-markup.ly
e3a80358be6bb9b8bf39e1716d0f62f6d8c303e4
[lilypond.git] / input / regression / music-function-string-markup.ly
1 \version "2.13.8"
2
3 \header {
4   texidoc = "Music functions accept strings as markup arguments
5 when using the type predicate @code{markup?}
6 "
7 }
8
9 testFunc =
10 #(define-music-function (parser location text music) (markup? ly:music?)
11    ;; dummy function, does nothing
12    music)
13
14 \relative c' {
15   \testFunc "test string"
16   c2 <c \testFunc "test string" e>
17 }