edt-y-or-n-p

edt-y-or-n-p is a compiled Lisp function in `edt.el'.

(edt-y-or-n-p PROMPT &optional NOT-YES)

Prompt for a y or n answer with positive default.
Like Emacs `y-or-n-p', also accepts space as y and DEL as n.
Argument PROMPT is the prompt string.
Optional argument NOT-YES changes the default to negative.