From e99c9adab079002460e74b5b4585db7599f1992d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1roly=20L=C5=91rentey?= Date: Mon, 28 Nov 2005 14:36:07 +0000 Subject: (list-buffers-noselect): Display the selected frame's buffer list, not the global one. --- lisp/buff-menu.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/buff-menu.el') 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)) -- cgit v1.2.1