David Kastrup <dak <at> gnu.org> writes: > No, it doesn't. There are several other operations that will fail or > cause surprises. Your mistake is using #theMusic twice without creating > a copy, so indeed the same music gets transposed twice and used twice. > Write $theMusic instead: that creates an actual copy. Or write > #(ly:music-deep-copy theMusic) which is semantically the same as > $theMusic.
Thank you, Urs, for the easy fix to my problem, and David for the explanation. I'll go decide whether I think it's just me who needs practicing reading the docs or it's also the docs that could use clarification ... :-) /Ole _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond