diff options
| author | Po Lu | 2022-06-08 10:40:20 +0800 |
|---|---|---|
| committer | Po Lu | 2022-06-08 10:40:20 +0800 |
| commit | 3237d1d6b63c2a299f81dcb8b4f2833e00a7fedf (patch) | |
| tree | 41ef3953c9d64693ac0271c8b80bbe15cf755e7d /lisp/select.el | |
| parent | f3162b82406f2162a4208c6b626def14ba68a03a (diff) | |
| download | emacs-3237d1d6b63c2a299f81dcb8b4f2833e00a7fedf.tar.gz emacs-3237d1d6b63c2a299f81dcb8b4f2833e00a7fedf.zip | |
Improve drag-and-drop tests
* lisp/dnd.el (dnd-begin-file-drag, dnd-begin-drag-files): Fix
type of `x-xdnd-username'.
* lisp/select.el (selection-converter-alist): Fix declaration of
_DT_NETFILE converter.
* test/lisp/dnd-tests.el (dnd-tests-verify-selection-data):
Handle "compound" selection converters.
(dnd-tests-parse-tt-netfile): New function.
(dnd-tests-begin-file-drag, dnd-tests-begin-drag-files): Verify
validity of file selection data.
Diffstat (limited to 'lisp/select.el')
| -rw-r--r-- | lisp/select.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/select.el b/lisp/select.el index 706197e027e..417968b25cb 100644 --- a/lisp/select.el +++ b/lisp/select.el | |||
| @@ -819,8 +819,8 @@ VALUE should be SELECTION's local value." | |||
| 819 | (_EMACS_INTERNAL . xselect-convert-to-identity) | 819 | (_EMACS_INTERNAL . xselect-convert-to-identity) |
| 820 | (XmTRANSFER_SUCCESS . xselect-convert-xm-special) | 820 | (XmTRANSFER_SUCCESS . xselect-convert-xm-special) |
| 821 | (XmTRANSFER_FAILURE . xselect-convert-xm-special) | 821 | (XmTRANSFER_FAILURE . xselect-convert-xm-special) |
| 822 | (_DT_NETFILE . (xselect-convert-to-dt-netfile | 822 | (_DT_NETFILE . (xselect-dt-netfile-available-p |
| 823 | . xselect-dt-netfile-available-p)))) | 823 | . xselect-convert-to-dt-netfile)))) |
| 824 | 824 | ||
| 825 | (provide 'select) | 825 | (provide 'select) |
| 826 | 826 | ||