changeset 67177:e59c64acce36

(list-buffers-noselect): Display the selected frame's buffer list, not the global one.
author Károly Lőrentey <lorentey@elte.hu>
date Mon, 28 Nov 2005 14:36:07 +0000
parents c1b362058986
children db5dfb03d180
files lisp/ChangeLog lisp/buff-menu.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Nov 28 05:38:49 2005 +0000
+++ b/lisp/ChangeLog	Mon Nov 28 14:36:07 2005 +0000
@@ -1,3 +1,8 @@
+2005-11-28  L$,1 q(Brentey K,Aa(Broly  <lorentey@elte.hu>
+
+	* buff-menu.el (list-buffers-noselect): Display the selected
+	frame's buffer list, not the global one.
+
 2005-11-28  Nick Roberts  <nickrob@snap.net.nz>
 
 	* xt-mouse.el (xterm-mouse-event): Set last-input-event so
--- a/lisp/buff-menu.el	Mon Nov 28 05:38:49 2005 +0000
+++ b/lisp/buff-menu.el	Mon Nov 28 14:36:07 2005 +0000
@@ -722,7 +722,7 @@
 				   (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))