changeset 38928:86b624b00b77

(electric-buffer-list): Use list-buffers-noselect.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 23 Aug 2001 22:17:34 +0000
parents 53166863c34a
children ffa8f910b5f1
files lisp/ebuff-menu.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ebuff-menu.el	Thu Aug 23 14:25:42 2001 +0000
+++ b/lisp/ebuff-menu.el	Thu Aug 23 22:17:34 2001 +0000
@@ -58,8 +58,8 @@
   (interactive "P")
   (let (select buffer)
     (save-window-excursion
-      (save-window-excursion (list-buffers arg))
-      (setq buffer (window-buffer (Electric-pop-up-window "*Buffer List*")))
+      (setq buffer (list-buffers-noselect arg))
+      (Electric-pop-up-window buffer)
       (unwind-protect
 	  (progn
 	    (set-buffer buffer)