summaryrefslogtreecommitdiff
path: root/lisp/subr.el
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 /lisp/subr.el
parentc18878ee0a2e16d294bb1b55d233469c604a83ea (diff)
downloademacs-8d530ca6542b169cb8f0cd3862cc5d24f68935c8.tar.gz
emacs-8d530ca6542b169cb8f0cd3862cc5d24f68935c8.tar.bz2
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 'lisp/subr.el')
-rw-r--r--lisp/subr.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 9087f9a4044..62f72734e14 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -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'