From: Yuuki Harano Date: Tue, 16 Feb 2021 14:41:33 +0000 (+0900) Subject: Fix I can't paste international text from clipboard X-Git-Tag: emacs-29.0.90~3725 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f094806ffb78487f9d11773134dfbebea2bd95dd;p=emacs.git Fix I can't paste international text from clipboard * lisp/select.el (gui--selection-value-internal): Try UTF8_STRING when pgtk as well as x. --- diff --git a/lisp/select.el b/lisp/select.el index c39bc93deab..897b66a028c 100644 --- a/lisp/select.el +++ b/lisp/select.el @@ -165,7 +165,7 @@ The value nil is the same as the list (UTF8_STRING COMPOUND_TEXT STRING)." Call `gui-get-selection' with an appropriate DATA-TYPE argument decided by `x-select-request-type'. The return value is already decoded. If `gui-get-selection' signals an error, return nil." - (let ((request-type (if (eq window-system 'x) + (let ((request-type (if (memq window-system '(x pgtk)) (or x-select-request-type '(UTF8_STRING COMPOUND_TEXT STRING)) 'STRING))