]> git.eshelyaron.com Git - emacs.git/commit
Fix 'yank-media' to allow yanking SVG data
authorCecilio Pardo <cpardo@imayhem.com>
Sun, 27 Oct 2024 13:39:34 +0000 (14:39 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 1 Nov 2024 13:20:40 +0000 (14:20 +0100)
commitc94b2fe781283b7c4f0925440f0ee05a70b8939f
tree8f59802737eadd1238e67379c13dc50f39bd9ede
parent15304cd57e9a972bf982818e3270593032c95b0f
Fix 'yank-media' to allow yanking SVG data

* lisp/net/mailcap.el (mailcap-mime-type-to-extension): Return
"svg" for mime type 'image/svg+xml'.  Org-mode uses this.
* lisp/yank-media.el (yank-media--find-matching-media): If svg is
supported, don't filter out 'image/svg+xml'.  (Bug#74044)

(cherry picked from commit bf395fd8bcc68499479cd6df31319eca93509359)
lisp/net/mailcap.el
lisp/yank-media.el