bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#28525: 26.0.60; dired-delete-file: Accept y/n if yes-or-no-p is alia


From: Michael Heerdegen
Subject: bug#28525: 26.0.60; dired-delete-file: Accept y/n if yes-or-no-p is aliased to y-or-n-p
Date: Tue, 03 Oct 2017 13:10:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux)

Tino Calancha <tino.calancha@gmail.com> writes:

> Even if we ignore this issue, the existance of a `questionp'
> which ask a question and allow more than 2 answers
> (and returns a symbol, easy to check in a `cond' block) might be
> a useful addition; this is quite general and avoid the need to use
> `read-string' in cases where the programmer prefers a symbol.

FWIW there is already something very similar in subr-x:
`read-multiple-choice'.  That one is controlled with keys, however.


Michael.





reply via email to

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