Mercurial > emacs
changeset 81109:254decc839d6
(dired-do-flagged-delete, dired-do-delete): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 31 May 2007 21:10:05 +0000 |
parents | 9a267b605d8a |
children | b84e4baa4d87 |
files | lisp/dired.el |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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")