aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)."
235 235
236(defun gui-get-primary-selection () 236(defun gui-get-primary-selection ()
237 "Return the PRIMARY selection, or the best emulation thereof." 237 "Return the PRIMARY selection, or the best emulation thereof."
238 (or (gui-get-selection 'PRIMARY) 238 (or (gui--selection-value-internal 'PRIMARY)
239 (and (fboundp 'w32-get-selection-value) 239 (and (fboundp 'w32-get-selection-value)
240 (eq (framep (selected-frame)) 'w32) 240 (eq (framep (selected-frame)) 'w32)
241 ;; MS-Windows emulates PRIMARY in x-get-selection, but only 241 ;; MS-Windows emulates PRIMARY in x-get-selection, but only