]> git.eshelyaron.com Git - emacs.git/commit
Fix multi-file drag-and-drop on MS-Windows
authorCecilio Pardo <cpardo@imayhem.com>
Sat, 21 Sep 2024 13:30:27 +0000 (15:30 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Sep 2024 11:59:15 +0000 (13:59 +0200)
commit7951eac41e3982049436282498b1d6d7c2890b8f
treeda1f8dfffe583b8363a41febdbe128ca602334ed
parentadcebd9f8b005d79613866ba0f8decd01a7e1bd3
Fix multi-file drag-and-drop on MS-Windows

Pass all dropped files to 'dnd-handle-multiple-urls' in
one call instead on doing multiple calls (Bug#73258).
* lisp/term/w32-win.el (w32-dropped-file-to-url): New function to
convert file name to a url for dnd.
(w32-handle-dropped-file): Changed to use 'w32-dropped-file-to-url'.
(w32-drag-n-drop): Changed to pass all files to
'dnd-handle-multiple-urls'/

(cherry picked from commit e8f0baf354b117837fd686e2bf6ca8df15bd1cd4)
lisp/term/w32-win.el