summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/cl-print-tests.el
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2023-06-22 16:59:19 +0200
committerRobert Pluim <rpluim@gmail.com>2023-07-13 15:37:16 +0200
commit587efce9faeb1a0b23b8367c02264a6f988832d0 (patch)
tree86098e1b97ded49f582aabe43795f0f8529c37ff /test/lisp/emacs-lisp/cl-print-tests.el
parente0244f58042740c8fe914e7abe5b02611b176bc2 (diff)
downloademacs-587efce9faeb1a0b23b8367c02264a6f988832d0.tar.gz
emacs-587efce9faeb1a0b23b8367c02264a6f988832d0.tar.bz2
emacs-587efce9faeb1a0b23b8367c02264a6f988832d0.zip
Autodetect coding system when yanking media
Some browers send eg 'text/html' selections formatted as UTF-8, but with a type of STRING, which actually means iso-latin-1. Autodetect the correct coding system to use by calling 'gui-get-selection'. * lisp/yank-media.el (yank-media--get-selection): Call 'gui-get-selection' instead of 'gui-backend-get-selection'.
Diffstat (limited to 'test/lisp/emacs-lisp/cl-print-tests.el')
0 files changed, 0 insertions, 0 deletions