Function: todo-y-or-n-p
todo-y-or-n-p is a byte-compiled function defined in todo-mode.el.gz.
Signature
(todo-y-or-n-p PROMPT)
Documentation
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.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/todo-mode.el.gz
(defun 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."
(unless todo-y-with-space
(define-key query-replace-map " " 'ignore))
(prog1
(y-or-n-p prompt)
(define-key query-replace-map " " 'act)))