From: Po Lu Date: Thu, 9 Jun 2022 02:22:14 +0000 (+0800) Subject: Fix dnd-tests on builds without X X-Git-Tag: emacs-29.0.90~1910^2~142 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7e41b4aa231ed094613fe0ea12e7ec37a396240f;p=emacs.git Fix dnd-tests on builds without X * test/lisp/dnd-tests.el (x-get-selection-internal): New function declaration. --- 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 @@ (signal 'error (list "invalid selection" data))) (setf (alist-get type dnd-tests-selection-table) data)))) +(declare-function x-get-selection-internal "xselect.c") + (defun dnd-tests-verify-selection-data (type) "Return the data of the drag-and-drop selection converted to TYPE." (if (eq window-system 'x)