y-or-n-p-with-timeout

y-or-n-p-with-timeout is a compiled Lisp function in `timer.el'.

(y-or-n-p-with-timeout PROMPT SECONDS DEFAULT-VALUE)

Like (y-or-n-p PROMPT), with a timeout.
If the user does not answer after SECONDS seconds, return DEFAULT-VALUE.