bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9761: proposed list-buffers change -- revert buffer if point is in *


From: Stefan Monnier
Subject: bug#9761: proposed list-buffers change -- revert buffer if point is in *Buffer List* buffer
Date: Sun, 16 Oct 2011 11:50:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

> !   (display-buffer (list-buffers-noselect files-only)))
[...]
> !   (if (string= (buffer-name)
> !                "*Buffer List*")
> !       (revert-buffer)
> !     (display-buffer (list-buffers-noselect files-only))))

I don't think calling revert-buffer is right.  Much better would be for
list-buffer-noselect to try to preserve point when reusing a buffer
rather than creating a new one.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]