BTW: I thought the 2.15.24-define-music-function not always needs to
return music.
http://lilypond.org/doc/v2.15/Documentation/changes-big-page.html
"The construct #{ … #} can now be used not just for constructing
sequential music lists, but also for single music events, void music
expressions, post events, markups (mostly freeing users from having to
use the markup macro), markup lists, number expressions, context
definitions and modifications, and a few other things. If it encloses
nothing or only a single music event, it no longer returns a
sequential music list but rather a void music expression or just the
music event itself, respectively."
Did I misunderstood (because of my insufficient english-skills)?