(x-last-selected-text-clipboard): Declare.
* 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.
(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.