emacs-super-duper-yes-or-no

Replace the yes-or-no function with an even more demanding yes or no prompt, rather than with y-or-n.
Log | Files | Refs | LICENSE

commit ae3982d2182a120511f79eec6326876ccef4f190
parent 3872bce6229b14d09f5ca1e5809ca5f18ee77892
Author: Yuval Langer <yuvallangerontheroad@gmail.com>
Date:   Fri,  6 Oct 2023 22:01:10 +0300

Replace a `while (not …)` with an `until …`.

Diffstat:
Msuper-duper-yes-or-no.el | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/super-duper-yes-or-no.el b/super-duper-yes-or-no.el @@ -152,11 +152,11 @@ Display in minibuffer PROMPT followed by two sequences of words, one for yes and wanted-no-string "\" for no) ")) - while - (not (or (equal user-input - wanted-yes-string) - (equal user-input - wanted-no-string))) + until + (or (equal user-input + wanted-yes-string) + (equal user-input + wanted-no-string)) finally return (equal user-input