changeset 66733:065ac05dd129

(ibuffer): Search all visible frames when getting Ibuffer buffer's window.
author John Paul Wallington <jpw@pobox.com>
date Sun, 06 Nov 2005 21:06:57 +0000
parents 45a69ccc2f35
children a61fa64e1765
files lisp/ibuffer.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ibuffer.el	Sun Nov 06 20:38:45 2005 +0000
+++ b/lisp/ibuffer.el	Sun Nov 06 21:06:57 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))
+	(select-window (get-buffer-window buf 'visible))
 	(or (eq major-mode 'ibuffer-mode)
 	    (ibuffer-mode))
 	(setq ibuffer-restore-window-config-on-quit other-window-p)