From 4c8e23d5d7fb662dc9eefba67b52ae5df0dffe62 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 7 Apr 2022 13:37:16 +0200 Subject: 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'. --- src/fns.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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. The user must confirm the answer with RET, and can edit it until it has been confirmed. +If the `use-short-answers' variable is non-nil, instead of asking for +\"yes\" or \"no\", this function will ask for \"y\" or \"n\". + If dialog boxes are supported, a dialog box will be used if `last-nonmenu-event' is nil, and `use-dialog-box' is non-nil. */) (Lisp_Object prompt) -- cgit v1.2.1