diff options
author | Eli Zaretskii <eliz@gnu.org> | 2023-05-12 14:07:29 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-05-12 14:07:29 +0300 |
commit | e535494491cb6266260e5adcbcbc9b7cd76cab2f (patch) | |
tree | 39736c347fc23cfbccd80bede0680b724f73e8e8 /doc | |
parent | 0b39e4daee4383d9e535148a973e0d5701125ada (diff) | |
parent | cbb59267c757b747c48a2690f96073614e8b4fd4 (diff) | |
download | emacs-e535494491cb6266260e5adcbcbc9b7cd76cab2f.tar.gz |
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/minibuf.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index 5d59387fb1f..ff12808762f 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi @@ -2200,6 +2200,9 @@ the expected answers (@kbd{y}, @kbd{n}, @kbd{@key{SPC}}, @kbd{@key{DEL}}, or something that quits), the function responds @samp{Please answer y or n.}, and repeats the request. +If @var{prompt} is a non-empty string, and it ends with a non-space +character, a @samp{SPC} character will be appended to it. + This function actually uses the minibuffer, but does not allow editing of the answer. The cursor moves to the minibuffer while the question is being asked. @@ -2240,6 +2243,9 @@ minibuffer, followed by the value of @code{yes-or-no-prompt} @w{(default responses; otherwise, the function responds @w{@samp{Please answer yes or no.}}, waits about two seconds and repeats the request. +If @var{prompt} is a non-empty string, and it ends with a non-space +character, a @samp{SPC} character will be appended to it. + @code{yes-or-no-p} requires more work from the user than @code{y-or-n-p} and is appropriate for more crucial decisions. |