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

> Hi Urs,
>
> try this line:
> #(eval ctx (current-module))
>
> Of course normally eval is evil, but in this case you just evaluate
> the name - the symbol - to the definition, which is stored under that
> name inside the scope of the layout block.

That's completely gratuitous use of eval.  Also # does not create a
copy, resulting in modifying the _global_ definition, a very bad idea.

This should rather be

$(module-ref (current-module) ctx)

-- 
David Kastrup

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

Reply via email to