]> git.eshelyaron.com Git - emacs.git/commit
'y-or-n-p' now uses the minibuffer to read 'y' or 'n' answer (bug#38076)
authorJuri Linkov <juri@linkov.net>
Sat, 9 Nov 2019 22:04:13 +0000 (00:04 +0200)
committerJuri Linkov <juri@linkov.net>
Sat, 9 Nov 2019 22:04:13 +0000 (00:04 +0200)
commita26a8cc1c85f29fb11209c16d53a8ae4e4ab7ced
tree73026908995a8daa8a96a6b1d0ebd9b64e169992
parent898cdc67f19ca15f4ac2b447adf350188baef604
'y-or-n-p' now uses the minibuffer to read 'y' or 'n' answer (bug#38076)

* doc/lispref/minibuf.texi (Yes-or-No Queries): Update the fact
that y-or-n-p uses the minibuffer.

* lisp/subr.el (y-or-n-p-history-variable): New variable.
(y-or-n-p-map): New keymap.
(y-or-n-p-insert-y, y-or-n-p-insert-n, y-or-n-p-insert-other):
New commands.
(y-or-n-p): Rewrite to use read-from-minibuffer and make-composed-keymap
with y-or-n-p-map and query-replace-map.
doc/lispref/minibuf.texi
etc/NEWS
lisp/subr.el