[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 99c637499e: Only apply last change to the clipboard
From: |
Po Lu |
Subject: |
master 99c637499e: Only apply last change to the clipboard |
Date: |
Mon, 31 Jan 2022 21:13:59 -0500 (EST) |
branch: master
commit 99c637499ec2bc0babb5d98b16f9c578952d54fd
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Only apply last change to the clipboard
* lisp/select.el (gui--selection-value-internal): Only return
nil if we own the clipboard.
---
lisp/select.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/select.el b/lisp/select.el
index 420967c1b0..d9f537cfce 100644
--- a/lisp/select.el
+++ b/lisp/select.el
@@ -173,6 +173,7 @@ decoded. If `gui-get-selection' signals an error, return
nil."
(unless (and (memq window-system '(x haiku))
;; gui-backend-selection-p might be unreliable on other
;; window systems.
+ (eq type 'CLIPBOARD)
(gui-backend-selection-owner-p type))
(let ((request-type (if (memq window-system '(x pgtk))
(or x-select-request-type
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 99c637499e: Only apply last change to the clipboard,
Po Lu <=