mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(x-get-selection): Change default for data-type
back to `STRING'.
This commit is contained in:
parent
de94d711e2
commit
4029fd9a3f
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue