changeset 99610:f9d941778ef6

(Dired Deletion): Document delete-by-moving-to-trash.
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 16 Nov 2008 07:26:15 +0000
parents d6a1930b4c07
children 3f9ebb55e9ff
files doc/emacs/dired.texi
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/dired.texi	Sun Nov 16 07:26:06 2008 +0000
+++ b/doc/emacs/dired.texi	Sun Nov 16 07:26:15 2008 +0000
@@ -192,6 +192,14 @@
 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)