emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Confused by y-or-n-p


From: martin rudalics
Subject: Re: Confused by y-or-n-p
Date: Sat, 26 Dec 2020 14:41:21 +0100

> I'd like the old behavior for y-or-n-p, where any character not on
> the list of special ones will err out of it.  With that behavior,
> the question about nesting yes-or-no-p inside won't matter.

The most simple approach to get the old behavior back is to restore the
old code for 'y-or-n-p', rename it to something like 'y-or-n-p-old' and
call it when an option like `y-or-n-p-use-old' is non-nil.

martin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]