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:
parent
de94d711e2
commit
4029fd9a3f
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user