Closed mpardalos closed 2 years ago
I just realised the error. svg-lib-concat returns the svg args, not and svg "object" (?) It is meant to be given to svg-image
or svg-lib-image
. So, the following works:
(insert-image (svg-lib--image (svg-lib-concat (svg-lib-tag "A") (svg-lib-tag "B"))))
I don't know whether this is intended or an oversight, so I'm leaving the issue open.
This is on purpose yes (this is what allows concatenation) and user is responsible for display by calling svg-image
.
Alright then. Closing since this is intentional.
Using
svg-lib-concat
gives an error. Evaluating the following elisp in an otherwise empty scratch buffer:Gives this error