aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-08-04 07:46:26 +0000
committerRichard M. Stallman1997-08-04 07:46:26 +0000
commit4029fd9a3fe0aa75d625de8cd21a74fca5704d73 (patch)
tree9645c191216adf33eec25aef8ccfead20c7c449b
parentde94d711e2852da5200a12c22674801def1f7d7c (diff)
downloademacs-4029fd9a3fe0aa75d625de8cd21a74fca5704d73.tar.gz
emacs-4029fd9a3fe0aa75d625de8cd21a74fca5704d73.zip
(x-get-selection): Change default for data-type
back to `STRING'.
-rw-r--r--lisp/select.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/select.el b/lisp/select.el
index b953743fd8b..3933efdd1a8 100644
--- a/lisp/select.el
+++ b/lisp/select.el
@@ -29,9 +29,9 @@
29(defun x-get-selection (&optional type data-type) 29(defun x-get-selection (&optional type data-type)
30 "Return the value of an X Windows selection. 30 "Return the value of an X Windows selection.
31The argument TYPE (default `PRIMARY') says which selection, 31The argument TYPE (default `PRIMARY') says which selection,
32and the argument DATA-TYPE (default `COMPOUND_TEXT') says 32and the argument DATA-TYPE (default `STRING') says
33how to convert the data." 33how to convert the data."
34 (x-get-selection-internal (or type 'PRIMARY) (or data-type 'COMPOUND_TEXT))) 34 (x-get-selection-internal (or type 'PRIMARY) (or data-type 'STRING)))
35 35
36(defun x-get-clipboard () 36(defun x-get-clipboard ()
37 "Return text pasted to the clipboard." 37 "Return text pasted to the clipboard."