]> git.eshelyaron.com Git - emacs.git/commit
Allow read-multiple-choice to do long-form answers
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 24 Jun 2022 09:00:06 +0000 (11:00 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 24 Jun 2022 09:04:51 +0000 (11:04 +0200)
commitbed9fd41efc72526a7fddcbe73c2ad9a97495356
treeb31e98db1b149a5096f7ce371b53ccbf37d852b8
parent49910adf872a98d9c144d34478a53ecb3e01856f
Allow read-multiple-choice to do long-form answers

* doc/lispref/commands.texi (Reading One Event): Document it.

* lisp/emacs-lisp/rmc.el (read-multiple-choice): Allow using
long-form answers instead of single character ones.
(read-multiple-choice--long-answers): New function.
(read-multiple-choice--short-answers): Refactored out from the
main function.
doc/lispref/commands.texi
etc/NEWS
lisp/emacs-lisp/rmc.el