New function read-answer (bug#30073)
commitafba4ccb8b8c6347a44efd0b9f4d6fb85756f85b
authorJuri Linkov <juri@linkov.net>
Sun, 21 Jan 2018 21:45:43 +0000 (21 23:45 +0200)
committerJuri Linkov <juri@linkov.net>
Sun, 21 Jan 2018 21:45:43 +0000 (21 23:45 +0200)
tree42b97dca576f2020dc18a33ccabcc7ff1ddf2c93
parent9ae0e4aa1aee3d7ff2546e34aa83536f72f8c06a
New function read-answer (bug#30073)

* lisp/emacs-lisp/map-ynp.el (read-answer): New function.
(read-answer-short): New defcustom.

* lisp/dired.el (dired-delete-file): Use read-answer.
(dired--yes-no-all-quit-help): Remove function.
(dired-delete-help): Remove defconst.

* lisp/subr.el (assoc-delete-all): New function.
etc/NEWS
lisp/dired.el
lisp/emacs-lisp/map-ynp.el
lisp/subr.el
test/lisp/dired-aux-tests.el
test/lisp/dired-tests.el