From e99c9adab079002460e74b5b4585db7599f1992d Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A1roly=20L=C5=91rentey?= Date: Mon, 28 Nov 2005 14:36:07 +0000 Subject: [PATCH] (list-buffers-noselect): Display the selected frame's buffer list, not the global one. --- lisp/ChangeLog | 5 +++++ lisp/buff-menu.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c96d7c0bcae..86cd4e9c1cf 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2005-11-28 L$,1 q(Brentey K,Aa(Broly + + * buff-menu.el (list-buffers-noselect): Display the selected + frame's buffer list, not the global one. + 2005-11-28 Nick Roberts * xt-mouse.el (xterm-mouse-event): Set last-input-event so diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index bb4bab7dcce..818fc19a4fd 100644 --- a/lisp/buff-menu.el +++ b/lisp/buff-menu.el @@ -722,7 +722,7 @@ For more information, see the function `buffer-menu'." (if (memq c '(?\n ?\s)) c underline)) header))))) ;; Collect info for every buffer we're interested in. - (dolist (buffer (or buffer-list (buffer-list))) + (dolist (buffer (or buffer-list (buffer-list (selected-frame)))) (with-current-buffer buffer (let ((name (buffer-name)) (file buffer-file-name)) -- 2.39.5