diff options
author | Tino Calancha <tino.calancha@gmail.com> | 2017-08-06 13:46:51 +0900 |
---|---|---|
committer | Tino Calancha <tino.calancha@gmail.com> | 2017-08-06 13:46:51 +0900 |
commit | cbea38e5c4af5386192fb9a48ef4fca5080d6561 (patch) | |
tree | e27b535d8e51591be70045289240380d2be6d4d9 /test/lisp/dired-tests.el | |
parent | 785a4a1d52fd7da3f3169fda26841341667c1661 (diff) | |
download | emacs-cbea38e5c4af5386192fb9a48ef4fca5080d6561.tar.gz emacs-cbea38e5c4af5386192fb9a48ef4fca5080d6561.tar.bz2 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 'test/lisp/dired-tests.el')
0 files changed, 0 insertions, 0 deletions