]> git.eshelyaron.com Git - emacs.git/commit
Add `yes-or-no-prompt' user option
authorRobert Pluim <rpluim@gmail.com>
Tue, 3 Jan 2023 16:09:53 +0000 (17:09 +0100)
committerRobert Pluim <rpluim@gmail.com>
Mon, 23 Jan 2023 08:17:15 +0000 (09:17 +0100)
commit26ef5c09e0a0b13c02e34d858f32c09b42d26dff
treef9da02a6f9c141119674e830c1ea0037d80e936e
parent114912254262ce412f30e43e3798c750a752b741
Add `yes-or-no-prompt' user option

This implements Bug#60312

* src/fns.c (syms_of_fns): Define `yes-or-no-prompt' Lisp variable.
(Fyes_or_no_p): Use `yes-or-no-prompt' instead of a hard-coded string.
* lisp/cus-start.el (standard): Add custom specification for it.

* doc/emacs/mini.texi (Yes or No Prompts): Document `yes-or-no-prompt'
* doc/lispref/minibuf.texi (Yes-or-No Queries): And here.

* etc/NEWS: Announce the new option.
doc/emacs/mini.texi
doc/lispref/minibuf.texi
etc/NEWS
lisp/cus-start.el
src/fns.c