aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJuri Linkov2019-11-12 23:21:14 +0200
committerJuri Linkov2019-11-12 23:21:14 +0200
commitd0351f4d2010e3e8f3ada04b045dede10f110d7f (patch)
treee7fa73d650e3149372ec15bc98acc1dfe0b9c01c /doc
parent4cccf7659a4767274b383e5fc820e27391988cc7 (diff)
downloademacs-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.texi10
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
655copy and rename files or create links for them, try to guess the default 655copy and rename files or create links for them, try to guess the default
656target directory for the operation. Normally, they suggest the Dired 656target directory for the operation. Normally, they suggest the Dired
657buffer's default directory, but if the variable @code{dired-dwim-target} 657buffer's default directory, but if the option @code{dired-dwim-target}
658is non-@code{nil}, and if there is another Dired buffer displayed in one 658is non-@code{nil}, and if there is another Dired buffer displayed in
659of the most recently used windows, that other buffer's directory is 659some window, that other buffer's directory is suggested instead.
660suggested instead. 660You can customize @code{dired-dwim-target} to prefer either the next
661window with a Dired buffer, or the most recently used window with
662a 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