emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 7e41b4aa23: Fix dnd-tests on builds without X


From: Po Lu
Subject: master 7e41b4aa23: Fix dnd-tests on builds without X
Date: Wed, 8 Jun 2022 22:22:27 -0400 (EDT)

branch: master
commit 7e41b4aa231ed094613fe0ea12e7ec37a396240f
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix dnd-tests on builds without X
    
    * test/lisp/dnd-tests.el (x-get-selection-internal): New
    function declaration.
---
 test/lisp/dnd-tests.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/lisp/dnd-tests.el b/test/lisp/dnd-tests.el
index c7e537e53f..c4b7567f22 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]