]> git.eshelyaron.com Git - emacs.git/commit
Fix charset issues in text/html yanking
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 8 Nov 2021 00:15:02 +0000 (01:15 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 8 Nov 2021 00:15:06 +0000 (01:15 +0100)
commit3dae236eb252452fff7faea0611e4f1798759e08
tree9eea799dc1f340196413a4affd60d91db7791055
parentaca235cb94b9b717de6e65b662b878362af26d57
Fix charset issues in text/html yanking

* lisp/yank-media.el (yank-media--get-selection): Use
gui-backend-get-selection instead of the higher-level function
which guesses wrong on the charset on many types.
(yank-media): Fix the case where there's only one match.
lisp/yank-media.el