diff options
author | Po Lu <luangruo@yahoo.com> | 2022-06-04 18:07:20 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-06-04 18:08:28 +0800 |
commit | f1b4c0aff507e32d0311e04c927b866dcb457ac3 (patch) | |
tree | dbfcfde6173fcca62a78fc8c09e9311ccb242b6c /doc/emacs/dired.texi | |
parent | acf27496cbf10e3ac2d36f6be1f1413691925eef (diff) | |
download | emacs-f1b4c0aff507e32d0311e04c927b866dcb457ac3.tar.gz |
Allow keyboard modifiers to control the action taken during dired DND
* doc/emacs/dired.texi (Misc Dired Features): Update
documentation.
* lisp/dired.el (dired-mouse-drag-files): Update defcustom for
new values.
(dired-mouse-drag): Recognize more values of
`dired-mouse-drag-files' and keyboard modifiers.
(dired-mouse-drag-files-map): Add C-down-mouse-1, M-down-mouse-1
and S-down-mouse-1.
Diffstat (limited to 'doc/emacs/dired.texi')
-rw-r--r-- | doc/emacs/dired.texi | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index ed4ff5213fb..9e14e0f9a99 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi @@ -1711,6 +1711,9 @@ 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. +create a symbolic link to the file; when set to @code{move}, it will +make the other program move the file to a new location, and setting it +to any other non-@code{nil} value will make the other program open or +create a copy of the file. The keyboard modifiers pressed during the +drag-and-drop operation can also control what action the other program +takes towards the file. |