mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-05 20:43:08 +00:00
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)
This commit is contained in:
parent
70c811c047
commit
1a588cb6dc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user