mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 20:32:00 -08:00
; Fix documentation of y-or-n-p/yes-or-no-p
* lisp/subr.el (y-or-n-p): * src/fns.c (Fyes_or_no_p): Doc fix.
This commit is contained in:
parent
c18878ee0a
commit
8d530ca654
2 changed files with 2 additions and 4 deletions
|
|
@ -3535,8 +3535,7 @@ character. This is not possible when using `read-key', but using
|
|||
Return t if answer is \"y\" and nil if it is \"n\".
|
||||
|
||||
PROMPT is the string to display to ask the question; `y-or-n-p'
|
||||
adds \" (y or n) \" to it. It does not need to end in space, but
|
||||
if it does up to one space will be removed.
|
||||
adds \"(y or n) \" to it.
|
||||
|
||||
If you bind the variable `help-form' to a non-nil value
|
||||
while calling this function, then pressing `help-char'
|
||||
|
|
|
|||
|
|
@ -3168,8 +3168,7 @@ DEFUN ("yes-or-no-p", Fyes_or_no_p, Syes_or_no_p, 1, 1, 0,
|
|||
Return t if answer is yes, and nil if the answer is no.
|
||||
|
||||
PROMPT is the string to display to ask the question; `yes-or-no-p'
|
||||
adds \"(yes or no) \" to it. It does not need to end in space, but if
|
||||
it does up to one space will be removed.
|
||||
adds \"(yes or no) \" to it.
|
||||
|
||||
The user must confirm the answer with RET, and can edit it until it
|
||||
has been confirmed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue