diff options
| author | Tino Calancha | 2017-08-06 13:46:51 +0900 |
|---|---|---|
| committer | Tino Calancha | 2017-08-06 13:46:51 +0900 |
| commit | cbea38e5c4af5386192fb9a48ef4fca5080d6561 (patch) | |
| tree | e27b535d8e51591be70045289240380d2be6d4d9 /etc | |
| parent | 785a4a1d52fd7da3f3169fda26841341667c1661 (diff) | |
| download | emacs-cbea38e5c4af5386192fb9a48ef4fca5080d6561.tar.gz emacs-cbea38e5c4af5386192fb9a48ef4fca5080d6561.zip | |
dired-do-delete: Allow to delete dirs recursively without prompts
* lisp/dired.el (dired-delete-file): Accept 2 additional answers:
'all', to delete all directories recursively and no prompt anymore.
'quit', to cancel directory deletions (Bug#27940).
Show help message when user inputs 'help'.
(dired-do-flagged-delete): Bind locally dired-recursive-deletes
so that we can overwrite its global value.
Wrapp the loop within a catch '--delete-cancel to catch when
the user abort the directtry deletion.
* doc/emacs/dired.texi (Dired Deletion): Update manual.
* etc/NEWS (Changes in Specialized Modes and Packages in Emacs 26.1):
Announce this change.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -611,6 +611,10 @@ paragraphs, for the purposes of bidirectional display. | |||
| 611 | ** Dired | 611 | ** Dired |
| 612 | 612 | ||
| 613 | +++ | 613 | +++ |
| 614 | *** You can answer 'all' in 'dired-do-delete' to delete recursively all | ||
| 615 | remaining directories without more prompts. | ||
| 616 | |||
| 617 | +++ | ||
| 614 | *** Dired supports wildcards in the directory part of the file names. | 618 | *** Dired supports wildcards in the directory part of the file names. |
| 615 | 619 | ||
| 616 | +++ | 620 | +++ |