From 4a4677aa32fcecd5d490a096e4de0e03ebe55b5e Mon Sep 17 00:00:00 2001 From: Po Lu Date: Fri, 27 Oct 2023 08:25:43 +0800 Subject: [PATCH] Correct order of arguments to dnd-handle-multiple-urls * lisp/term/android-win.el (android-handle-dnd-event): Pass new-uri-list before action. --- lisp/term/android-win.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/term/android-win.el b/lisp/term/android-win.el index b73251456fa..960dfdcb4a6 100644 --- a/lisp/term/android-win.el +++ b/lisp/term/android-win.el @@ -288,8 +288,9 @@ content:// URIs into the special file names which represent them." ;; transformed back into a content URI. dnd-unescape-file-uris nil)))) (push uri new-uri-list)) - (dnd-handle-multiple-urls (posn-window posn) 'copy - new-uri-list)))))) + (dnd-handle-multiple-urls (posn-window posn) + new-uri-list + 'copy)))))) (define-key special-event-map [drag-n-drop] 'android-handle-dnd-event) -- 2.39.2