9:20:50luislukego: hmm. presentations inject a keymap property into their region
9:22:04lukegoI've narrowed it down quite a lot now actually. It seems to be an issue with the string object containing SVG data. Specifically, my properties don't work if I use STRING, but do work if I use (substring-no-properties STRING). Weird. Checking now if there indeed are any properties and if so why Emacs cares.
9:24:51lukegoThe string does not seem to have any text properties so I wonder if it's somehow about the identity of the string object itself.
9:27:09lukegoIt's the identity of the string object. (The string doesn't have any properties.) I've no idea why... but I guess since Elisp strings are mutable there are any number of potential reasons. Just doing (create-image (copy-seq string) ...) fixes it.
9:27:27lukegoThat took me a whole day to track down...