aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2023-01-04 19:25:47 +0200
committerEli Zaretskii2023-01-04 19:25:47 +0200
commit8d530ca6542b169cb8f0cd3862cc5d24f68935c8 (patch)
tree81cd8638a4cb4e5b3e4b8ddcf1d8d863b675a9c3 /src
parentc18878ee0a2e16d294bb1b55d233469c604a83ea (diff)
downloademacs-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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fns.c b/src/fns.c
index 51ef1153fb7..1aaf17914a2 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -3168,8 +3168,7 @@ DEFUN ("yes-or-no-p", Fyes_or_no_p, Syes_or_no_p, 1, 1, 0,
3168Return t if answer is yes, and nil if the answer is no. 3168Return t if answer is yes, and nil if the answer is no.
3169 3169
3170PROMPT is the string to display to ask the question; `yes-or-no-p' 3170PROMPT is the string to display to ask the question; `yes-or-no-p'
3171adds \"(yes or no) \" to it. It does not need to end in space, but if 3171adds \"(yes or no) \" to it.
3172it does up to one space will be removed.
3173 3172
3174The user must confirm the answer with RET, and can edit it until it 3173The user must confirm the answer with RET, and can edit it until it
3175has been confirmed. 3174has been confirmed.