]> git.eshelyaron.com Git - emacs.git/commit
Allow dragging multiple files from a Dired buffer
authorPo Lu <luangruo@yahoo.com>
Fri, 3 Jun 2022 11:43:06 +0000 (19:43 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 3 Jun 2022 11:46:25 +0000 (19:46 +0800)
commitca2e7409dcd694742704e424c3f6f5bc5f230f25
treec966c37aacd1071d72faeea5256f04999b6e57f2
parent977f3f27c549db27a2d6fb33e0112b03f9b57371
Allow dragging multiple files from a Dired buffer

* doc/lispref/frames.texi (Drag and Drop): Document new function
`dnd-begin-drag-files'.
* lisp/dired.el (dired-mouse-drag-files): Update doc string.
(dired-map-over-marks): Accept a new value of ARG `marked',
meaning to not fall back to the current file if no marks were
found.
(dired-mouse-drag): Handle marked files in an intuitive way.

* lisp/dnd.el (dnd-last-dragged-remote-file): Allow list values
as well.
(dnd-remove-last-dragged-remote-file): Handle list values.
(dnd-begin-file-drag): Fix file name expansion.
(dnd-begin-drag-files): New function.
* lisp/select.el (xselect-convert-to-filename): Handle mutiple
files
(a vector of file names):.
doc/lispref/frames.texi
lisp/dired.el
lisp/dnd.el
lisp/select.el