1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-23 10:34:07 +00:00

(x-get-selection): Change default for data-type

back to `STRING'.
This commit is contained in:
Richard M. Stallman 1997-08-04 07:46:26 +00:00
parent de94d711e2
commit 4029fd9a3f

View File

@ -29,9 +29,9 @@
(defun x-get-selection (&optional type data-type)
"Return the value of an X Windows selection.
The argument TYPE (default `PRIMARY') says which selection,
and the argument DATA-TYPE (default `COMPOUND_TEXT') says
and the argument DATA-TYPE (default `STRING') says
how to convert the data."
(x-get-selection-internal (or type 'PRIMARY) (or data-type 'COMPOUND_TEXT)))
(x-get-selection-internal (or type 'PRIMARY) (or data-type 'STRING)))
(defun x-get-clipboard ()
"Return text pasted to the clipboard."