summaryrefslogtreecommitdiff
path: root/lisp/buff-menu.el
diff options
context:
space:
mode:
authorKároly Lőrentey <lorentey@elte.hu>2005-11-28 14:36:07 +0000
committerKároly Lőrentey <lorentey@elte.hu>2005-11-28 14:36:07 +0000
commite99c9adab079002460e74b5b4585db7599f1992d (patch)
tree6a94b247b896a487ea850384b203c2c85c9e5159 /lisp/buff-menu.el
parentcb666f2dd7cd8ad7e166afe16323fabb4dccd095 (diff)
downloademacs-e99c9adab079002460e74b5b4585db7599f1992d.tar.gz
(list-buffers-noselect): Display the selected frame's buffer list, not
the global one.
Diffstat (limited to 'lisp/buff-menu.el')
-rw-r--r--lisp/buff-menu.el2
1 files changed, 1 insertions, 1 deletions
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))