# HG changeset patch # User Richard M. Stallman <rms@gnu.org> # Date 1180645805 0 # Node ID 254decc839d62451fafbab853b7e51297f2bb3fc # Parent 9a267b605d8ad604440bd1210ae1ad227129d913 (dired-do-flagged-delete, dired-do-delete): Doc fix. diff -r 9a267b605d8a -r 254decc839d6 lisp/dired.el --- a/lisp/dired.el Thu May 31 00:52:35 2007 +0000 +++ b/lisp/dired.el Thu May 31 21:10:05 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")