changeset 37491:772178ae2c7e

(Operating on Files): Document dired-dwim-target.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 26 Apr 2001 11:35:32 +0000
parents c0c12ef6e869
children b9cea35cf91f
files man/dired.texi
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.)