Aaron Hill <[email protected]> writes: > On 2021-06-29 1:45 pm, David Kastrup wrote: >> Aaron Hill <[email protected]> writes: >>> Hrm... would it be better to explicitly alist-copy the result from >>> ly:assoc-get? Actually, I guess you could do: >>> ;;;; >>> (alist-cons 'class ... (alist-delete 'class attribs)) >>> ;;;; >> Either that or not even bother about deleting the other entry. > > If you don't remove the old entry, then the SVG looks like this: > > <g class="foo NoteHead" class="foo"> > > I am fairly certain that it is not valid to have the same attribute > name twice in an element in SGML.
Uh, ok. I was thinking of an alist as a canonical data structure and there overriding at the front is permissable. But if it is used in that manner... -- David Kastrup
