summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-01-04 19:25:47 +0200
committerEli Zaretskii <eliz@gnu.org>2023-01-04 19:25:47 +0200
commit8d530ca6542b169cb8f0cd3862cc5d24f68935c8 (patch)
tree81cd8638a4cb4e5b3e4b8ddcf1d8d863b675a9c3 /src/fns.c
parentc18878ee0a2e16d294bb1b55d233469c604a83ea (diff)
downloademacs-8d530ca6542b169cb8f0cd3862cc5d24f68935c8.tar.gz
; 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/fns.c')
-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,
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.