]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/music-function-string-markup.ly
Doc-es: various updates.
[lilypond.git] / input / regression / music-function-string-markup.ly
1 \version "2.19.22"
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 (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 }