Subject: bug#9557: 24.0.50; "y-or-n-p" does not clear the echo area

From: Andreas Schwab <[email-masked]>
Date: Tue, 20 Sep 2011 11:38:21 +0200

Dani Moncayo <[email-masked]> writes:

> 1. Eval: (fset 'yes-or-no-p 'y-or-n-p)
> 2. Visit some file.
> 3. M-x revert-buffer <RET> y
> --> (Expected) The echo area ends up empty (as happens if you omit step #1).

Since yes-or-no-p doesn't use the echo area (it uses the minibuffer) you
cannot compare it with y-or-n-p.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."