mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-31 11:13:50 +00:00
Clarify boolean widget prompt
* lisp/wid-edit.el (widget-boolean-prompt-value): Clarify prompt (bug#43593).
This commit is contained in:
parent
929adad22b
commit
0f9d8c9381
@ -4011,7 +4011,10 @@ is inline."
|
||||
|
||||
(defun widget-boolean-prompt-value (_widget prompt _value _unbound)
|
||||
;; Toggle a boolean.
|
||||
(y-or-n-p prompt))
|
||||
;; Say what "y" means. A la
|
||||
;; "Set customized value for bar to true: (y or n)"
|
||||
(y-or-n-p (concat (replace-regexp-in-string ": ?\\'" "" prompt)
|
||||
" true: ")))
|
||||
|
||||
;;; The `color' Widget.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user