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).
This commit is contained in:
Lars Ingebrigtsen 2021-10-09 15:04:11 +02:00
parent 00eb21c897
commit ec9f25bd35

View file

@ -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'. where `help-char' is automatically bound to `help-form-show'.
No confirmation of the answer is requested; a single character is 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 To be precise, this function translates user input into responses
by consulting the bindings in `query-replace-map'; see the by consulting the bindings in `query-replace-map'; see the