diff options
author | Eli Zaretskii <eliz@gnu.org> | 2023-01-04 19:25:47 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-01-04 19:25:47 +0200 |
commit | 8d530ca6542b169cb8f0cd3862cc5d24f68935c8 (patch) | |
tree | 81cd8638a4cb4e5b3e4b8ddcf1d8d863b675a9c3 /lisp/subr.el | |
parent | c18878ee0a2e16d294bb1b55d233469c604a83ea (diff) | |
download | emacs-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.el | 3 |
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' |