summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/term/common-win.el4
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9b18e252aff..14ba74410b7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -23,6 +23,10 @@
* subr.el (x-popup-dialog): Declare.
+ * term/common-win.el (x-select-enable-primary)
+ (x-last-selected-text-primary, x-last-selected-text-clipboard):
+ Declare.
+
* window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
(fit-frame-to-buffer): Explicit error if --without-x.
(mouse-autoselect-window-select): Silence compiler.
diff --git a/lisp/term/common-win.el b/lisp/term/common-win.el
index aadab96f75a..158db4d09c8 100644
--- a/lisp/term/common-win.el
+++ b/lisp/term/common-win.el
@@ -44,6 +44,10 @@ This variable is not used by the Nextstep port."
(defvar ns-last-selected-text) ; ns-win.el
(declare-function ns-set-pasteboard "ns-win" (string))
+(defvar x-select-enable-primary) ; x-win.el
+(defvar x-last-selected-text-primary)
+(defvar x-last-selected-text-clipboard)
+
(defun x-select-text (text)
"Select TEXT, a string, according to the window system.