* lisp/select.el (gui-get-selection): Doc fix.
This commit is contained in:
parent
ad731b0d8f
commit
274c979649
1 changed files with 4 additions and 2 deletions
|
@ -291,8 +291,10 @@ all upper-case names. The most often used ones, in addition to
|
||||||
`PRIMARY', are `SECONDARY' and `CLIPBOARD'.
|
`PRIMARY', are `SECONDARY' and `CLIPBOARD'.
|
||||||
|
|
||||||
DATA-TYPE is usually `STRING', but can also be one of the symbols
|
DATA-TYPE is usually `STRING', but can also be one of the symbols
|
||||||
in `selection-converter-alist', which see. This argument is
|
in `selection-converter-alist', which see. Window systems other
|
||||||
ignored on NS, MS-Windows and MS-DOS."
|
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)
|
(let ((data (gui-backend-get-selection (or type 'PRIMARY)
|
||||||
(or data-type 'STRING))))
|
(or data-type 'STRING))))
|
||||||
(when (and (stringp data)
|
(when (and (stringp data)
|
||||||
|
|
Loading…
Add table
Reference in a new issue