aboutsummaryrefslogtreecommitdiffstats
path: root/src/fns.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen2022-04-07 13:37:16 +0200
committerLars Ingebrigtsen2022-04-07 13:37:16 +0200
commit4c8e23d5d7fb662dc9eefba67b52ae5df0dffe62 (patch)
tree162e69aef91031af6f97870d7f8bc1f9d8bd0e07 /src/fns.c
parentd859cdd62157b3489ca893a54a4d7a6400cfae2c (diff)
downloademacs-4c8e23d5d7fb662dc9eefba67b52ae5df0dffe62.tar.gz
emacs-4c8e23d5d7fb662dc9eefba67b52ae5df0dffe62.zip
Clarify read-answer-short/use-short-answers action
* lisp/emacs-lisp/map-ynp.el (read-answer-short): Clarify what this variable affects (bug#54754). * src/fns.c (Fyes_or_no_p): Mention `use-short-answers'.
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fns.c b/src/fns.c
index ee4e80b5069..4673fde28c7 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2915,6 +2915,9 @@ it does up to one space will be removed.
2915The user must confirm the answer with RET, and can edit it until it 2915The user must confirm the answer with RET, and can edit it until it
2916has been confirmed. 2916has been confirmed.
2917 2917
2918If the `use-short-answers' variable is non-nil, instead of asking for
2919\"yes\" or \"no\", this function will ask for \"y\" or \"n\".
2920
2918If dialog boxes are supported, a dialog box will be used 2921If dialog boxes are supported, a dialog box will be used
2919if `last-nonmenu-event' is nil, and `use-dialog-box' is non-nil. */) 2922if `last-nonmenu-event' is nil, and `use-dialog-box' is non-nil. */)
2920 (Lisp_Object prompt) 2923 (Lisp_Object prompt)