From ec9f25bd356c7c81d94c78f11100b97d6d52ce97 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 9 Oct 2021 15:04:11 +0200 Subject: [PATCH] Mention that RET means "yes" in y-or-n-p * lisp/subr.el (y-or-n-p): Mention that RET also means yes (bug#51101). --- lisp/subr.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/subr.el b/lisp/subr.el index f8f446c6a92..78767b259d4 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -3218,7 +3218,7 @@ PROMPT is also updated to show `help-char' like \"(y, n or C-h) \", where `help-char' is automatically bound to `help-form-show'. No confirmation of the answer is requested; a single character is -enough. SPC also means yes, and DEL means no. +enough. RET and SPC also means yes, and DEL means no. To be precise, this function translates user input into responses by consulting the bindings in `query-replace-map'; see the -- 2.39.2