Make all prompts y or n

Emacs prompts you at various times to answer yes or no to something. If you add the following to your emacs config file, you will only have to hit y or n saving you countless seconds!

;; change all prompts to y or n
(fset 'yes-or-no-p 'y-or-n-p)

This basically aliases the built in “yes or no” prompt function to the built in “y or n” prompt function so that the latter is always used.