]> git.eshelyaron.com Git - emacs.git/commit
dired-delete-file: Do not TAB complete the user answer
authorTino Calancha <tino.calancha@gmail.com>
Sun, 6 Aug 2017 12:53:07 +0000 (21:53 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Sun, 6 Aug 2017 12:53:07 +0000 (21:53 +0900)
commite7aabd8b1ced130c8bf5abecf2fa14b962a9b012
tree694be7bfff57341ef231cc92af7bd7979f4bc496
parentcbea38e5c4af5386192fb9a48ef4fca5080d6561
dired-delete-file: Do not TAB complete the user answer

This action might delete directories containing valuable information.
Before previous commit, we prompted users with `yes-or-no-p'
which doesn't TAB complete the user answer.  Let's play safe and
keep requiring full answers.
* emacs-master/lisp/dired.el (dired-delete-file): Use `read-string'
instead of `completing-read' to read the user answers.
lisp/dired.el