mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-08 00:33:13 -08:00
Fix dnd-tests on builds without X
* test/lisp/dnd-tests.el (x-get-selection-internal): New function declaration.
This commit is contained in:
parent
8d4551cbdb
commit
7e41b4aa23
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue