"Phil Holmes" <[email protected]> writes:
> I've read
> http://lilypond.org/doc/v2.19/Documentation/extending/lilypond-scheme-syntax
> (as no doubt, Urs has) and tried to use $ in place of #. Can't get it
> to compile. So, taking the following note doubler, how would $ be
> used instead of #?
>
> dubble = #(define-music-function( parser location arg )
> (ly:music?)
> #{ $arg $arg #}
> )
>
> { c'' \dubble c' }
Huh? Which # would you even want to replace here? #{ ... #} is inside
of Scheme. $arg already uses a $.
This code works fine as written.
--
David Kastrup
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user