changeset 77841:d582a9f8e632

(dired-do-delete, dired-do-flagged-delete): Doc fixes.
author Richard M. Stallman <rms@gnu.org>
date Thu, 31 May 2007 21:11:40 +0000
parents e02922bcf179
children d25c6bb2bd7d
files lisp/dired.el
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Wed May 30 18:43:43 2007 +0000
+++ b/lisp/dired.el	Thu May 31 21:11:40 2007 +0000
@@ -2410,7 +2410,9 @@
 (defun dired-do-flagged-delete (&optional nomessage)
   "In Dired, delete the files flagged for deletion.
 If NOMESSAGE is non-nil, we don't display any message
-if there are no flagged files."
+if there are no flagged files.
+`dired-recursive-deletes' controls whether 
+deletion of non-empty directories is allowed."
   (interactive)
   (let* ((dired-marker-char dired-del-marker)
 	 (regexp (dired-marker-regexp))
@@ -2426,7 +2428,9 @@
 	  (message "(No deletions requested)")))))
 
 (defun dired-do-delete (&optional arg)
-  "Delete all marked (or next ARG) files."
+  "Delete all marked (or next ARG) files.
+`dired-recursive-deletes' controls whether 
+deletion of non-empty directories is allowed."
   ;; This is more consistent with the file marking feature than
   ;; dired-do-flagged-delete.
   (interactive "P")