diff lisp/ibuffer.el @ 66739:7edb08362291

(ibuffer): Search iconified frames too when getting Ibuffer buffer's window.
author John Paul Wallington <jpw@pobox.com>
date Mon, 07 Nov 2005 01:30:29 +0000
parents 065ac05dd129
children 43619387ab52 7beb78bc1f8e
line wrap: on
line diff
--- a/lisp/ibuffer.el	Mon Nov 07 01:28:15 2005 +0000
+++ b/lisp/ibuffer.el	Mon Nov 07 01:30:29 2005 +0000
@@ -2288,7 +2288,7 @@
       (save-selected-window
 	;; We switch to the buffer's window in order to be able
 	;; to modify the value of point
-	(select-window (get-buffer-window buf 'visible))
+	(select-window (get-buffer-window buf 0))
 	(or (eq major-mode 'ibuffer-mode)
 	    (ibuffer-mode))
 	(setq ibuffer-restore-window-config-on-quit other-window-p)