From: Mike FABIAN Date: Thu, 8 Oct 2015 13:45:32 +0000 (+0200) Subject: In gui-get-primary-selection use gui--selection-value-internal (Bug#20906) X-Git-Tag: emacs-25.0.90~1155 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1a588cb6dcfc2d9db4c1753ac7ba62ba97ee8d67;p=emacs.git 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) --- 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