]> git.eshelyaron.com Git - emacs.git/commit
New function read-answer (Bug#31782)
authorJuri Linkov <juri@linkov.net>
Sun, 21 Jan 2018 21:45:43 +0000 (23:45 +0200)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 4 Aug 2018 15:37:39 +0000 (11:37 -0400)
commitcc233365a925dcf9fa7270630819f2e6e75280da
tree7d3ecdf237cfe9a014d35034bc32cd1ec55ebfff
parentf0b8e64fb7720a9376bde80cc59fe37b0df83b9d
New function read-answer (Bug#31782)

* lisp/emacs-lisp/map-ynp.el (read-answer-short): New defcustom.
(read-answer): New function.
* lisp/subr.el (assoc-delete-all): New function.
* etc/NEWS: Announce them.

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

(backported from master, "New function read-answer (bug#30073)" and
"Respect non-saved value of `read-short-answer' (Bug#31782)")
etc/NEWS
lisp/dired.el
lisp/emacs-lisp/map-ynp.el
lisp/subr.el
test/lisp/dired-tests.el