Only apply last change to the clipboard
* lisp/select.el (gui--selection-value-internal): Only return nil if we own the clipboard.
This commit is contained in:
parent
16174d796f
commit
99c637499e
1 changed files with 1 additions and 0 deletions
|
@ -173,6 +173,7 @@ decoded. If `gui-get-selection' signals an error, return nil."
|
||||||
(unless (and (memq window-system '(x haiku))
|
(unless (and (memq window-system '(x haiku))
|
||||||
;; gui-backend-selection-p might be unreliable on other
|
;; gui-backend-selection-p might be unreliable on other
|
||||||
;; window systems.
|
;; window systems.
|
||||||
|
(eq type 'CLIPBOARD)
|
||||||
(gui-backend-selection-owner-p type))
|
(gui-backend-selection-owner-p type))
|
||||||
(let ((request-type (if (memq window-system '(x pgtk))
|
(let ((request-type (if (memq window-system '(x pgtk))
|
||||||
(or x-select-request-type
|
(or x-select-request-type
|
||||||
|
|
Loading…
Add table
Reference in a new issue