diff options
| author | Juri Linkov | 2019-11-12 23:21:14 +0200 |
|---|---|---|
| committer | Juri Linkov | 2019-11-12 23:21:14 +0200 |
| commit | d0351f4d2010e3e8f3ada04b045dede10f110d7f (patch) | |
| tree | e7fa73d650e3149372ec15bc98acc1dfe0b9c01c /doc | |
| parent | 4cccf7659a4767274b383e5fc820e27391988cc7 (diff) | |
| download | emacs-d0351f4d2010e3e8f3ada04b045dede10f110d7f.tar.gz emacs-d0351f4d2010e3e8f3ada04b045dede10f110d7f.zip | |
* lisp/dired.el (dired-dwim-target): Add new choices (bug#35385)
* lisp/dired.el (dired-dwim-target): Add choices
dired-dwim-target-next and dired-dwim-target-recent.
* lisp/dired-aux.el (dired-dwim-target-next)
(dired-dwim-target-recent): New functions.
(dired-dwim-target-directories): Call either of them.
* doc/emacs/dired.texi (Operating on Files): Mention new
preferences in dired-dwim-target.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/dired.texi | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index c32255a86db..8fab508dea6 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi | |||
| @@ -654,10 +654,12 @@ commands, use the same conventions to decide which files to work on. | |||
| 654 | Commands which ask for a destination directory, such as those which | 654 | Commands which ask for a destination directory, such as those which |
| 655 | copy and rename files or create links for them, try to guess the default | 655 | copy and rename files or create links for them, try to guess the default |
| 656 | target directory for the operation. Normally, they suggest the Dired | 656 | target directory for the operation. Normally, they suggest the Dired |
| 657 | buffer's default directory, but if the variable @code{dired-dwim-target} | 657 | buffer's default directory, but if the option @code{dired-dwim-target} |
| 658 | is non-@code{nil}, and if there is another Dired buffer displayed in one | 658 | is non-@code{nil}, and if there is another Dired buffer displayed in |
| 659 | of the most recently used windows, that other buffer's directory is | 659 | some window, that other buffer's directory is suggested instead. |
| 660 | suggested instead. | 660 | You can customize @code{dired-dwim-target} to prefer either the next |
| 661 | window with a Dired buffer, or the most recently used window with | ||
| 662 | a Dired buffer. | ||
| 661 | 663 | ||
| 662 | Here are the file-manipulating Dired commands that operate on files. | 664 | Here are the file-manipulating Dired commands that operate on files. |
| 663 | 665 | ||