diff options
| author | Eli Zaretskii | 2023-01-04 19:25:47 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2023-01-04 19:25:47 +0200 |
| commit | 8d530ca6542b169cb8f0cd3862cc5d24f68935c8 (patch) | |
| tree | 81cd8638a4cb4e5b3e4b8ddcf1d8d863b675a9c3 /src | |
| parent | c18878ee0a2e16d294bb1b55d233469c604a83ea (diff) | |
| download | emacs-8d530ca6542b169cb8f0cd3862cc5d24f68935c8.tar.gz emacs-8d530ca6542b169cb8f0cd3862cc5d24f68935c8.zip | |
; 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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -3168,8 +3168,7 @@ DEFUN ("yes-or-no-p", Fyes_or_no_p, Syes_or_no_p, 1, 1, 0, | |||
| 3168 | Return t if answer is yes, and nil if the answer is no. | 3168 | Return t if answer is yes, and nil if the answer is no. |
| 3169 | 3169 | ||
| 3170 | PROMPT is the string to display to ask the question; `yes-or-no-p' | 3170 | PROMPT is the string to display to ask the question; `yes-or-no-p' |
| 3171 | adds \"(yes or no) \" to it. It does not need to end in space, but if | 3171 | adds \"(yes or no) \" to it. |
| 3172 | it does up to one space will be removed. | ||
| 3173 | 3172 | ||
| 3174 | The user must confirm the answer with RET, and can edit it until it | 3173 | The user must confirm the answer with RET, and can edit it until it |
| 3175 | has been confirmed. | 3174 | has been confirmed. |