]> git.eshelyaron.com Git - emacs.git/commitdiff
(Dired Deletion): Document delete-by-moving-to-trash.
authorChong Yidong <cyd@stupidchicken.com>
Sun, 16 Nov 2008 07:26:15 +0000 (07:26 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 16 Nov 2008 07:26:15 +0000 (07:26 +0000)
doc/emacs/dired.texi

index b556c7a9c401ff8e7de95374dedf0970252f2cf2..82cf96f5e9a3956e36702512b6841465bb4259ac 100644 (file)
@@ -192,6 +192,14 @@ Dired cannot delete directories that are nonempty.  If the variable
 delete nonempty directories including all their contents.  That can
 be somewhat risky.
 
+@vindex delete-by-moving-to-trash
+  On some systems, there is a facility called the ``Trash'' or
+``Recycle Bin'', but Emacs does @emph{not} use it by default.  Thus,
+when you delete a file in Dired, it is gone forever.  However, you can
+tell Emacs to use the Trash for file deletion, by changing the
+variable @code{delete-by-moving-to-trash} to @code{t}.  @xref{Misc
+File Ops}, for more information about the Trash.
+
 @node Flagging Many Files
 @section Flagging Many Files at Once
 @cindex flagging many files for deletion (in Dired)