Jan-Peter Voigt <[email protected]> writes:

> here's my approach to inherit the input-location in nested music-functions:
>
> --snip--
>
> \version "2.15.40"
>
> % a test function, which simply outputs the location
>
> test = #(define-music-function (parser location mus)(ly:music?)
>
> (ly:input-message location "~A" location) mus)

...

In this use case, using ly:music-message or ly:music-warning would
appear to make more sense.

-- 
David Kastrup


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to