Skip to content

Commit

Permalink
(dired-do-delete, dired-do-flagged-delete): Doc fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard M. Stallman committed May 31, 2007
1 parent 8333f33 commit 3c8b692
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lisp/dired.el
Expand Up @@ -2410,7 +2410,9 @@ Anything else, ask for each sub-directory."
(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))
Expand All @@ -2426,7 +2428,9 @@ if there are no flagged files."
(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")
Expand Down

0 comments on commit 3c8b692

Please sign in to comment.