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 f771436804e76f958821eff6dc07840e66348d27
parent 565f5a98604f69e68d7bdbc0ac79df5e3cc8b04d
Author: Yuval Langer <yuvallangerontheroad@gmail.com>
Date:   Sat,  7 Oct 2023 05:04:05 +0300

Simplify expression.

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

diff --git a/super-duper-yes-or-no.el b/super-duper-yes-or-no.el @@ -219,14 +219,12 @@ the toggle count AND they are not toggled." wanted-position) when - (or (and (>= position-char - (string-to-char "a")) - (<= position-char - (string-to-char "z"))) - (and (>= position-char - (string-to-char "A")) - (<= position-char - (string-to-char "Z")))) + (or (<= ?a + position-char + ?z) + (<= ?A + position-char + ?Z)) do (progn