mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
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.
This commit is contained in:
parent
c4cc80e1fb
commit
f094806ffb
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue