]> git.eshelyaron.com Git - emacs.git/commitdiff
(list-buffers-noselect): Display the selected frame's buffer list, not
authorKároly Lőrentey <lorentey@elte.hu>
Mon, 28 Nov 2005 14:36:07 +0000 (14:36 +0000)
committerKároly Lőrentey <lorentey@elte.hu>
Mon, 28 Nov 2005 14:36:07 +0000 (14:36 +0000)
the global one.

lisp/ChangeLog
lisp/buff-menu.el

index c96d7c0bcaed124233cca12e8d41589a8e8cc006..86cd4e9c1cf3a5f08673fde137f4f4bcbc0cf160 100644 (file)
@@ -1,3 +1,8 @@
+2005-11-28  L\e$,1 q\e(Brentey K\e,Aa\e(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
index bb4bab7dcce831cf5b807e91815294b7fbc23584..818fc19a4fd8bd670b08eb9a9f9f2f068d377ac0 100644 (file)
@@ -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))