]> git.eshelyaron.com Git - emacs.git/commit
dired-delete-file: Dont't ask for empty dirs
authorTino Calancha <tino.calancha@gmail.com>
Wed, 9 Aug 2017 05:47:15 +0000 (14:47 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Wed, 9 Aug 2017 05:48:49 +0000 (14:48 +0900)
commitda4438e14f1c55808937872b6d651a807404daa2
treea7b3a8d1f8425b56071759d5b3507e1378afa585
parent9ecbdeeaa845a75c63210057a8a554eedc9387bf
dired-delete-file:  Dont't ask for empty dirs

* lisp/dired.el (dired--yes-no-all-quit-help): New defun.
(dired-delete-file): Use it.  Dont't ask for empty dirs (Bug#27940).

* test/lisp/dired-tests.el (dired-test-with-temp-dirs):
New auxiliar macro.
(dired-test-bug27940): Add new test.
lisp/dired.el
test/lisp/dired-tests.el