summaryrefslogtreecommitdiff
path: root/lisp/select.el
diff options
context:
space:
mode:
authorMike FABIAN <mfabian@redhat.com>2015-10-08 15:45:32 +0200
committerAndreas Schwab <schwab@suse.de>2015-10-12 10:34:51 +0200
commit1a588cb6dcfc2d9db4c1753ac7ba62ba97ee8d67 (patch)
tree2ce57176e7b84b5f26b7aa7c30472928d362590c /lisp/select.el
parent70c811c0479125f1bab27c7c0b9b4a79d659035d (diff)
downloademacs-1a588cb6dcfc2d9db4c1753ac7ba62ba97ee8d67.tar.gz
In gui-get-primary-selection use gui--selection-value-internal (Bug#20906)
* lisp/select.el (gui-get-primary-selection): In gui-get-primary-selection use gui--selection-value-internal (Bug#20906)
Diffstat (limited to 'lisp/select.el')
-rw-r--r--lisp/select.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/select.el b/lisp/select.el
index 74b48d1d812..2d2ac5fa422 100644
--- a/lisp/select.el
+++ b/lisp/select.el
@@ -235,7 +235,7 @@ The value nil is the same as the list (UTF8_STRING COMPOUND_TEXT STRING)."
(defun gui-get-primary-selection ()
"Return the PRIMARY selection, or the best emulation thereof."
- (or (gui-get-selection 'PRIMARY)
+ (or (gui--selection-value-internal 'PRIMARY)
(and (fboundp 'w32-get-selection-value)
(eq (framep (selected-frame)) 'w32)
;; MS-Windows emulates PRIMARY in x-get-selection, but only