2.3.7 Void music functions

A music function must return a music expression. If you want to execute a function only for its side effect, you should use define-void-function. But there may be cases where you sometimes want to produce a music expression, and sometimes not (like in the previous example). Returning a void music expression via #{ #} will achieve that.


Other languages: deutsch, español, français.
About automatic language selection.

LilyPond — Extending v2.17.97 (development-branch).