summaryrefslogtreecommitdiff
path: root/doc/emacs
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-03-19 11:35:55 +0800
committerPo Lu <luangruo@yahoo.com>2022-03-19 11:35:55 +0800
commitc7f085b53fe4bf0e6bc13e33b38f46f6b35a5608 (patch)
treef92d63e27bd602f9962259b3314bbf5f9377eb76 /doc/emacs
parentd2ba793ed97c7e759630109033cf729fee14446b (diff)
downloademacs-c7f085b53fe4bf0e6bc13e33b38f46f6b35a5608.tar.gz
emacs-c7f085b53fe4bf0e6bc13e33b38f46f6b35a5608.tar.bz2
emacs-c7f085b53fe4bf0e6bc13e33b38f46f6b35a5608.zip
Document dired-mouse-drag-files
* doc/emacs/dired.texi (Misc Dired Features): Explain that dragging files is now supported. * etc/NEWS: Update documentation status. * lisp/dired.el (dired-mouse-drag-files): Fix typo in doc string.
Diffstat (limited to 'doc/emacs')
-rw-r--r--doc/emacs/dired.texi18
1 files changed, 12 insertions, 6 deletions
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi
index 3112ac332b3..e18c8b048bc 100644
--- a/doc/emacs/dired.texi
+++ b/doc/emacs/dired.texi
@@ -1695,9 +1695,15 @@ directory than in this one. It also marks files with no counterpart,
in both directories, as always.
@cindex drag and drop, Dired
- On the X Window System, Emacs supports the drag and drop
-protocol. You can drag a file object from another program, and drop
-it onto a Dired buffer; this either moves, copies, or creates a link
-to the file in that directory. Precisely which action is taken is
-determined by the originating program. Dragging files out of a Dired
-buffer is currently not supported.
+@vindex dired-mouse-drag-files
+ On the X Window System, Emacs supports the drag and drop protocol.
+You can drag a file object from another program, and drop it onto a
+Dired buffer; this either moves, copies, or creates a link to the file
+in that directory. Precisely which action is taken is determined by
+the originating program. Dragging files out of a Dired buffer is also
+supported, by enabling the user option @code{dired-mouse-drag-files},
+the mouse can be used to drag files onto other programs. When set to
+@code{link}, it will make the other program (typically a file manager)
+create a symbolic link to the file, and setting it to any other
+non-@code{nil} value will make the other program open or create a copy
+of the file.