Thomas Morley <thomasmorle...@gmail.com> writes: > I'm tempted to create a patch along these lines. > Though, there is no other usage of 'music-clone' in our code-base, afaict. > It's far to useful to risk someone deletes it lateron regarding it as > unused function.
Its functionality is rather similar to ly:music-deep-copy and, actually, make-music (which can take existing music as a template for filling in the mutable elements of a music expression). So there is a fair bit of redundancy here though not a perfect replacement. > I think a regtest for 'music-clone' should be created, probably a > snippet (which may be a doc-tagged-LSR-snippet) as well. > I'll have a look through my local usage of 'music-clone', coming back, > if I find some nice usage. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user