changeset 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 2ed5507a3be3
children 9c1f10ee6651 693e794b57bf
files lisp/ibuffer.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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)