Subject: Re: bug#7749: Buffer Menu forgets which buffers it has

From: Lennart Borgman <[email-masked]>
Date: Tue, 28 Dec 2010 23:16:51 +0100

On Tue, Dec 28, 2010 at 9:53 AM, Lennart Borgman
<[email-masked]> wrote:
> Create a buffer menu buffer with
>
>  (display-buffer
>    (list-buffers-noselect nil (list (current-buffer))))
>
> The list will have just one buffer.
>
> Click on a column in the header to sort the list of buffers. After
> this the list will show all buffers that the user normally sees.

Attached a patch that fixes this.