diff options
author | Robert Pluim <rpluim@gmail.com> | 2023-01-03 17:09:53 +0100 |
---|---|---|
committer | Robert Pluim <rpluim@gmail.com> | 2023-01-23 09:17:15 +0100 |
commit | 26ef5c09e0a0b13c02e34d858f32c09b42d26dff (patch) | |
tree | f9da02a6f9c141119674e830c1ea0037d80e936e /lisp | |
parent | 114912254262ce412f30e43e3798c750a752b741 (diff) | |
download | emacs-26ef5c09e0a0b13c02e34d858f32c09b42d26dff.tar.gz emacs-26ef5c09e0a0b13c02e34d858f32c09b42d26dff.tar.bz2 emacs-26ef5c09e0a0b13c02e34d858f32c09b42d26dff.zip |
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.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/cus-start.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el index 054683d7cf6..6ca7d7fcafd 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el @@ -310,6 +310,7 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of (const :tag "Off" :value nil) (const :tag "On" :value t) (const :tag "Auto-raise" :value auto-raise)) "26.1") + (yes-or-no-prompt menu string "30.1") ;; fontset.c ;; FIXME nil is the initial value, fontset.el setqs it. (vertical-centering-font-regexp display |