Use ido to answer yes or no questions.
Emacs Lisp
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
ido-yes-or-no.el

README.md

ido-yes-or-no

Use ido to answer yes or no questions.

Many people do (defalias 'yes-or-no-p 'y-or-n-p), but this can make it too easy to answer important questions incorrectly with just one key. Using ido gives you a compromise between the two: you still have to hit enter to confirm, but you don't have to type out the whole word. Two keypresses are required, a "y" or "n" followed by RET.

Isn't this massive overkill? {yes | no}

y RET