Tim Landscheidt <[email protected]> writes:
> Hi,
Hi Tim,
> one of the differences between y-or-n-p and yes-or-no-p is
> that the former adds " (y or n) " to the prompt, while the
> latter only appends "(yes or no) ", so prompts passed to
> yes-or-no-p need to end with a space.
This looks like an error in Emacs. See the example in
(info "(elisp) Yes-or-No Queries")
--8<---------------cut here---------------start------------->8---
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 ----------
--8<---------------cut here---------------end--------------->8---
So perhaps you write an Emacs bug report.
Best regards, Michael.