Here's what you can read at the top of music-functions-init.ly:
%% TODO: using define-music-function in a .scm causes crash.
Yet the following code works perfectly in a scm file:
(define foo
(define-music-function (parser location music) (ly:music?)
#{ $music #}))
It was added by Han-Wen in 2004:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=commitdiff;h=5758fa63add68276fd012fac73a240f40332a320
Is it really still relevant?
Cheers,
Valentin
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel