From: Károly Lőrentey Date: Mon, 28 Nov 2005 14:36:07 +0000 (+0000) Subject: (list-buffers-noselect): Display the selected frame's buffer list, not X-Git-Tag: emacs-pretest-22.0.90~5627 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e99c9adab079002460e74b5b4585db7599f1992d;p=emacs.git (list-buffers-noselect): Display the selected frame's buffer list, not the global one. --- 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))