summaryrefslogtreecommitdiff
path: root/lisp/ibuffer.el
diff options
context:
space:
mode:
authorJohn Paul Wallington <jpw@pobox.com>2005-11-06 21:09:09 +0000
committerJohn Paul Wallington <jpw@pobox.com>2005-11-06 21:09:09 +0000
commit9514fb7f5ebf40e7e1d2565cda4e8ffca99b15da (patch)
treef66bd46a50ef1356edf4cdf27953cd8abf9aa827 /lisp/ibuffer.el
parentca09521cf19a23ad57fe6493b374548c87b39950 (diff)
downloademacs-9514fb7f5ebf40e7e1d2565cda4e8ffca99b15da.tar.gz
(ibuffer): Search all visible frames when getting Ibuffer buffer's window.
Diffstat (limited to 'lisp/ibuffer.el')
-rw-r--r--lisp/ibuffer.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el
index 7d6b72b06af..9ff9d7b8f87 100644
--- a/lisp/ibuffer.el
+++ b/lisp/ibuffer.el
@@ -2288,7 +2288,7 @@ FORMATS is the value to use for `ibuffer-formats'.
(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)