]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/dired.el (dired-mouse-drag): Offer HOST_NAME as well.
authorPo Lu <luangruo@yahoo.com>
Sat, 2 Apr 2022 12:48:09 +0000 (20:48 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 2 Apr 2022 12:48:09 +0000 (20:48 +0800)
lisp/dired.el

index 0524ac16c247baef8b893d386e2f3bdb31a51c2f..d6e189cba339355e83d36c07bc868cb90133274c 100644 (file)
@@ -1750,7 +1750,7 @@ when Emacs exits or the user drags another file.")
                               #'dired-remove-last-dragged-local-file))
                   (gui-backend-set-selection 'XdndSelection filename)
                   (x-begin-drag '("text/uri-list" "text/x-dnd-username"
-                                  "FILE_NAME" "FILE")
+                                  "FILE_NAME" "FILE" "HOST_NAME")
                                 (if (eq 'dired-mouse-drag-files 'link)
                                     'XdndActionLink
                                   'XdndActionCopy)