Tim Landscheidt writes: Hi, > With the big caveat that I have never looked deeper at > Emacs's C code, the source in src/fns.c does not appear to > change the prompt given as an argument in any way, but just > append yes-or-no-prompt to it. > > Also, (elisp) Yes-or-No Queries reads (since 7f53446a10ea; > doc/lispref/minibuf.texi): > > | […] > > | Here is an example: > > | (yes-or-no-p "Do you really want to remove everything?") > > | ;; After evaluation of the preceding expression, > | ;; the following prompt appears, > | ;; with an empty minibuffer: > > | ---------- Buffer: minibuffer ---------- > | Do you really want to remove everything? (yes or no) > | ---------- Buffer: minibuffer ---------- > > | […] > > This is not the actual result: (yes-or-no-p "Do you really > want to remove everything?") gives the prompt "Do you really > want to remove everything?(yes or no) ", i. e., the space > before the parenthesis is missing. I guess we should pad the prompt with a trailing space, if there isn't any already. As we do in `y-or-no-p'. What about the appended patch? Documentation must be updated as well, of course. Best regards, Michael.