# HG changeset patch # User Chong Yidong # Date 1226820375 0 # Node ID f9d941778ef6005ff85a297fcc9cdd5fa01ee366 # Parent d6a1930b4c07bdd9b34af565d9153dc3512299a8 (Dired Deletion): Document delete-by-moving-to-trash. diff -r d6a1930b4c07 -r f9d941778ef6 doc/emacs/dired.texi --- 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)