Subject: bug#9937: quit-window restores wrong buffer

From: Juri Linkov <[email-masked]>
Date: Tue, 01 Nov 2011 23:56:19 +0200

Test case:

1. emacs -Q
2. `C-h i'
3. `M-2 C-h i'
4. `q' restores the *Info* buffer - CORRECT
5. next `q' restores the *Info*<2> buffer - WRONG

Expected result: the second `q' should restore the *scratch* buffer.