todo-y-or-n-p

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

(todo-y-or-n-p PROMPT)

Ask "y or n" question PROMPT and return t if answer is "y".
Also return t if answer is "Y", but unlike `y-or-n-p', allow
SPC to affirm the question only if option `todo-y-with-space' is
non-nil.