]> git.eshelyaron.com Git - emacs.git/commitdiff
* files.texi (Directories): delete-directory has an optional
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 1 Oct 2009 15:51:43 +0000 (15:51 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 1 Oct 2009 15:51:43 +0000 (15:51 +0000)
parameter RECURSIVE.

doc/lispref/ChangeLog
doc/lispref/files.texi
etc/ChangeLog
etc/NEWS

index f654490f5c6896210d4602a0887c24ac4bf4ea55..1fcb1d3533a813ca2e733b3c29053396defe2546 100644 (file)
@@ -1,3 +1,8 @@
+2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
+
+       * files.texi (Create/Delete Dirs): delete-directory has an
+       optional parameter RECURSIVE.
+
 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * buffers.texi (Swapping Text): Minor clarification.
index cbba096c7b959f0d751ad303a9819f1a6d934c78..81f342aee97c9d45bb522e434d9aa72200871a67 100644 (file)
@@ -2501,11 +2501,12 @@ if they don't already exist.
 @code{mkdir} is an alias for this.
 @end deffn
 
-@deffn Command delete-directory dirname
+@deffn Command delete-directory dirname &optional recursive
 This command deletes the directory named @var{dirname}.  The function
 @code{delete-file} does not work for files that are directories; you
-must use @code{delete-directory} for them.  If the directory contains
-any files, @code{delete-directory} signals an error.
+must use @code{delete-directory} for them.  If @var{recursive} is
+@code{nil}, and the directory contains any files,
+@code{delete-directory} signals an error.
 
 @code{delete-directory} only follows symbolic links at the level of
 parent directories.
index 9becb86ce37e1755e3f046ef3722e41146e68420..861b2064e7fe31e8bd785de1f24451d9085959e9 100644 (file)
@@ -1,3 +1,7 @@
+2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
+
+       * NEWS: delete-directory has an optional parameter RECURSIVE.
+
 2009-10-01  Carsten Dominik  <dominik@u016822.science.uva.nl>
 
        * refcards/orgcard.tex: New version number.
index 093ca72b2a53b8db10856a9da5e3cd5f3c6561f0..9003f42ee969c1522ad68b743a48fa9de559d21b 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -302,6 +302,9 @@ be in use:
   time-stamp-yyyy-mm-dd, time-stamp-yymmdd, time-stamp-hh:mm:ss,
   time-stamp-hhmm, baud-rate
 
+** `delete-directory' has an optional parameter RECURSIVE.
+
+\f
 * Changes in Emacs 23.2 on non-free operating systems
 
 ---