]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/music-function-string-markup.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / input / regression / music-function-string-markup.ly
1 \version "2.14.0"
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 }