summaryrefslogtreecommitdiff
path: root/lisp/mouse-sel.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mouse-sel.el')
-rw-r--r--lisp/mouse-sel.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/mouse-sel.el b/lisp/mouse-sel.el
index 412f8ac0be2..b1a7dcb33ca 100644
--- a/lisp/mouse-sel.el
+++ b/lisp/mouse-sel.el
@@ -305,6 +305,8 @@ where SELECTION-NAME = name of selection
SELECTION-THING-SYMBOL = name of variable where the current selection
type for this selection should be stored.")
+(declare-function x-select-text "term/x-win" (text &optional push))
+
(defvar mouse-sel-set-selection-function
(if (eq mouse-sel-default-bindings 'interprogram-cut-paste)
'x-set-selection
@@ -321,6 +323,8 @@ Called with two arguments:
This sets the selection as well as the cut buffer for the older applications,
unless `mouse-sel-default-bindings' is `interprogram-cut-paste'.")
+(declare-function x-cut-buffer-or-selection-value "term/x-win" ())
+
(defvar mouse-sel-get-selection-function
(lambda (selection)
(if (eq selection 'PRIMARY)