From bd51ea7fe5ef2eb34bb1b28d3cc53d643001483f Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Thu, 1 Oct 2009 15:44:10 +0000 Subject: [PATCH] * files.texi (Directories): delete-directory prompts for recursive deletion. --- doc/emacs/ChangeLog | 5 +++++ doc/emacs/files.texi | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 9fe09905ff5..5536815fe48 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,8 @@ +2009-10-01 Michael Albinus + + * files.texi (Directories): delete-directory prompts for recursive + deletion. + 2009-09-30 Glenn Morris * ack.texi (Acknowledgments): diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index 34447f06096..be987afbbe5 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi @@ -1199,8 +1199,8 @@ Display a verbose directory listing. @item M-x make-directory @key{RET} @var{dirname} @key{RET} Create a new directory named @var{dirname}. @item M-x delete-directory @key{RET} @var{dirname} @key{RET} -Delete the directory named @var{dirname}. It must be empty, -or you get an error. +Delete the directory named @var{dirname}. If it isn't empty, +you will be asked whether you want to delete it recursively. @end table @findex list-directory @@ -1247,12 +1247,12 @@ this, it runs the program specified by The command @kbd{M-x delete-directory} prompts for a directory name using the minibuffer, and deletes the directory if it is empty. If -the directory is not empty, this signals an error. On systems that -have a ``Trash'' or ``Recycle Bin'' feature, you can make this command -move the specified directory to the Trash or Recycle Bin, instead of -deleting it outright, by changing the variable -@code{delete-by-moving-to-trash} to @code{t}. @xref{Misc File Ops}, -for more information about using the Trash. +the directory is not empty, you will be asked whether you want to +delete it recursively. On systems that have a ``Trash'' or ``Recycle +Bin'' feature, you can make this command move the specified directory +to the Trash or Recycle Bin, instead of deleting it outright, by +changing the variable @code{delete-by-moving-to-trash} to @code{t}. +@xref{Misc File Ops}, for more information about using the Trash. @node Comparing Files @section Comparing Files -- 2.39.5