aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lisp/dnd-tests.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lisp/dnd-tests.el b/test/lisp/dnd-tests.el
index c7e537e53f9..c4b7567f22e 100644
--- a/test/lisp/dnd-tests.el
+++ b/test/lisp/dnd-tests.el
@@ -72,6 +72,8 @@
72 (signal 'error (list "invalid selection" data))) 72 (signal 'error (list "invalid selection" data)))
73 (setf (alist-get type dnd-tests-selection-table) data)))) 73 (setf (alist-get type dnd-tests-selection-table) data))))
74 74
75(declare-function x-get-selection-internal "xselect.c")
76
75(defun dnd-tests-verify-selection-data (type) 77(defun dnd-tests-verify-selection-data (type)
76 "Return the data of the drag-and-drop selection converted to TYPE." 78 "Return the data of the drag-and-drop selection converted to TYPE."
77 (if (eq window-system 'x) 79 (if (eq window-system 'x)