# HG changeset patch # User Eli Zaretskii # Date 988284932 0 # Node ID 772178ae2c7e4afcd247f042fb92fa6abb9077ac # Parent c0c12ef6e869f3e67fcddcc13e55b671eaae49e9 (Operating on Files): Document dired-dwim-target. diff -r c0c12ef6e869 -r 772178ae2c7e man/dired.texi --- a/man/dired.texi Thu Apr 26 09:30:00 2001 +0000 +++ b/man/dired.texi Thu Apr 26 11:35:32 2001 +0000 @@ -465,6 +465,15 @@ Otherwise, the command operates on the current file only. @end itemize +@vindex dired-dwim-target +@cindex two directories (in Dired) + Commands which ask for a destination directory, such as those which +copy and rename files or create links for them, try to guess the default +target directory for the operation. Normally, they suggest the Dired +buffer's default directory, but if the variable @code{dired-dwim-target} +is non-@code{nil}, and if there is another Dired buffer displayed in the +next window, that other buffer's directory is suggested instead. + Here are the file-manipulating commands that operate on files in this way. (Some other Dired commands, such as @kbd{!} and the @samp{%} commands, also use these conventions to decide which files to work on.)