mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue