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

From: martin rudalics <[email-masked]>
Date: Sat, 15 Oct 2011 12:27:38 +0200

> !   (if (string= (buffer-name)
 > !                "*Buffer List*")
 > !       (revert-buffer)

This doesn't strike me as TRT when "*Buffer List*" is currently not
visible in any window.  So you probably want something like

(if (and (string= (buffer-name) "*Buffer List*")
	 (get-buffer-window (buffer-name) 0))
     (revert-buffer)
   (display-buffer (list-buffers-noselect files-only)))

here (but I don't use `list-buffers').

 > !     (display-buffer (list-buffers-noselect files-only))))

martin