From 274c9796499a6619bd351351d2c26a1ae09a3eb7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii <eliz@gnu.org> Date: Sat, 14 Apr 2018 10:53:34 +0300 Subject: [PATCH] * lisp/select.el (gui-get-selection): Doc fix. --- lisp/select.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/select.el b/lisp/select.el index d5c9d7cbbbd..698be837547 100644 --- a/lisp/select.el +++ b/lisp/select.el @@ -291,8 +291,10 @@ all upper-case names. The most often used ones, in addition to `PRIMARY', are `SECONDARY' and `CLIPBOARD'. DATA-TYPE is usually `STRING', but can also be one of the symbols -in `selection-converter-alist', which see. This argument is -ignored on NS, MS-Windows and MS-DOS." +in `selection-converter-alist', which see. Window systems other +than X usually support only a small subset of these symbols, in +addition to `STRING'; MS-Windows supports `TARGETS', which reports +the formats available in the clipboard if TYPE is `CLIPBOARD'." (let ((data (gui-backend-get-selection (or type 'PRIMARY) (or data-type 'STRING)))) (when (and (stringp data) -- 2.39.5